Skip to main content
POST
/
v2
/
sol
/
create
curl --request POST \
  --url https://de.raze.sh/v2/sol/create \
  --header 'Content-Type: application/json' \
  --data '
{
  "platform": "pumpfun",
  "wallets": [
    {
      "address": "62ThHC1rs2GUfa8J4Qjcj5GD2MSL2d65pcJtenNieDnm",
      "amount": 0.1
    }
  ],
  "token": {
    "name": "My Token",
    "symbol": "MTK",
    "imageUrl": "https://example.com/image.png",
    "description": "Token description"
  },
  "pumpType": "false"
}
'
{
  "success": true,
  "platform": "pumpfun",
  "mint": "<string>",
  "transactions": [
    "<string>"
  ],
  "pumpType": "<string>",
  "bonkType": "<string>",
  "localSigning": true,
  "poolId": "<string>"
}

Body

application/json

Request to create a new token

platform
enum<string>
required

Token creation platform

Available options:
pumpfun,
bonk
wallets
object[]
required

Array of wallets with initial buy amounts

Minimum array length: 1
token
object
required
pumpType
enum<string>
default:false

PumpFun mayhem mode (only for pumpfun platform)

Available options:
true,
false
bonkType
enum<string>
default:meme

Bonk token type (only for bonk platform)

Available options:
meme,
normal
config
object

Custom configuration object (optional)

Response

Success - Token creation transactions generated

success
boolean
required
Example:

true

platform
enum<string>
required
Available options:
pumpfun,
bonk
mint
string
required

Token mint address

transactions
string[]
required

Array of base58-encoded transactions

pumpType
string

Present for pumpfun

bonkType
string

Present for bonk

localSigning
boolean

Whether local signing was used (pumpfun only)

poolId
string

Pool ID (bonk only)