Create Token
Pump.fun Parameters
Optional fields when mode is pump — POST /submit, type create_token.
When mode is pump, you can add the following to the create_token body.
Pump-only fields
| Field | Type | Default | Description |
|---|---|---|---|
mayhem_mode | boolean | false | Mayhem / Token2022 path |
cashback_mode | boolean | false | 0% creator fees (cashback-style); alias: no_creator_fees |
agent_mode | boolean | false | Agent routing |
buyback_bps | number | 0 | Buyback basis points |
agent_buyback | boolean | false | Auto buyback from creator fees (server ties into agent / 100% buyback); alias: auto_buyback_cfees |
pump_fee_shareholders | array | — | Fee split after create (see below) |
Bundle, sniper, and auto-sell fields are not pump-only — they apply to all supported platforms. See Bundle & Sniper Wallets and the Deploy Token common fields.
Fee shareholders (pump_fee_shareholders)
Array of objects. Each entry identifies the recipient one of these ways:
address— Solana walletgithub_username— GitHub user (with or without@)twitter_username— X handle (with or without@)
Plus:
share_bps— basis points (100 bps = 1%)
All share_bps values must sum to exactly 10000 (100%).
Example
{
"type": "create_token",
"session_id": "<jwt>",
"api_key": "<encrypted>",
"mode": "pump",
"name": "My Pump Token",
"ticker": "PUMP",
"buy_amount": 5,
"mayhem_mode": true,
"pump_fee_shareholders": [
{ "address": "Wallet111...", "share_bps": 3334 },
{ "github_username": "myGitHubUser", "share_bps": 3333 },
{ "twitter_username": "myTwitterHandle", "share_bps": 3333 }
]
}3334 + 3333 + 3333 = 10000 → valid.