Skip to main content
Use platform: "pump_fun" for Pump.fun launches and trades.

Methods

TypePurpose
create_with_image_urlCreate a token using a remotely hosted image URL.
create_with_image_blobCreate a token using raw image bytes.
buyBuy an existing Pump.fun token.
sellSell an existing Pump.fun token.
collect_creator_feeClaim Pump.fun creator fees for the payer wallet.

Create requests

Shared fields:
  • transaction_data
  • launch_data
  • buy_config
  • image_url or image_blob
Optional Pump.fun-specific fields:
  • supply_transfer
  • cashback
  • dev_sell_delay
  • mint_privkey
  • fee_share
  • agent_config
  • flywheel
  • is_mayhem_mode

fee_share

{
  "fee_share": {
    "shareholders": [
      {
        "platform": "twitter",
        "handle": "launchblitz",
        "share_bps": 5000
      },
      {
        "address": "RECIPIENT_WALLET",
        "share_bps": 5000
      }
    ],
    "lock_feeshare": true
  }
}

agent_config

{
  "agent_config": {
    "buyback_percent": 2500
  }
}

flywheel

{
  "flywheel": {
    "frequency_ms": 60000,
    "lock_feeshare": true,
    "max_consecutive_failures": 5,
    "priority_fee_lamports": 1000000
  }
}

Example: create_with_image_url

{
  "platform": "pump_fun",
  "type": "create_with_image_url",
  "transaction_data": {
    "rpcs": ["standard"],
    "identifier": "pump_create_1",
    "priority_fee": 1000000,
    "payer_wallet": "SOLANA_WALLET"
  },
  "launch_data": {
    "name": "My Coin",
    "symbol": "COIN",
    "description": "Example Pump.fun launch",
    "twitter": "https://x.com/example/status/1",
    "attached_referral": null,
    "website": "https://example.com",
    "generated": false,
    "multi_deploy_count": 1
  },
  "image_url": "https://example.com/image.png",
  "buy_config": {
    "type": "standard",
    "buy_amount": 50000000,
    "min_tokens_out": 0
  },
  "cashback": true,
  "dev_sell_delay": 2000,
  "is_mayhem_mode": false
}

Buy

FieldType
rpcsstring[]
identifierstring
mintstring
buy_amtnumber
min_tokens_outnumber
priority_feenumber
buying_walletstring
creatorstring
is_mayhem_modeboolean
Example:
{
  "platform": "pump_fun",
  "type": "buy",
  "rpcs": ["standard"],
  "identifier": "pump_buy_1",
  "mint": "TOKEN_MINT",
  "buy_amt": 50000000,
  "min_tokens_out": 1,
  "priority_fee": 1000000,
  "buying_wallet": "SOLANA_WALLET",
  "creator": "CREATOR_WALLET",
  "is_mayhem_mode": false
}

Sell

FieldType
rpcsstring[]
identifierstring
mintstring
sell_amtnumber
priority_feenumber
selling_walletstring
creatorstring | null
min_outnumber
is_mayhem_modeboolean
cashbackboolean
If creator is omitted, the backend falls back to selling_wallet.

Claim creator fees

{
  "platform": "pump_fun",
  "type": "collect_creator_fee",
  "transaction_data": {
    "rpcs": ["standard"],
    "identifier": "pump_collect_1",
    "priority_fee": 0,
    "payer_wallet": "SOLANA_WALLET"
  }
}