Skip to main content
Bonk.fun requests use platform: "raydium_launchpad" plus a sub_platform.

Sub-platforms

ValueMeaning
BONKWSOLBonk.fun with WSOL quote.
BONKUSD1Bonk.fun with USD1 quote.

Methods

TypePurpose
create_with_image_urlCreate a Bonk.fun launch from an image URL.
create_with_image_blobCreate a Bonk.fun launch from raw image bytes.
sellSell an existing Bonk.fun position.

Create

Shared fields:
  • transaction_data
  • launch_data
  • buy_config
  • image_url or image_blob
  • sub_platform
Optional Bonk.fun-specific fields:
  • supply_transfer
  • dev_sell_delay
  • mint_privkey
  • is_bonkers
Example:
{
  "platform": "raydium_launchpad",
  "type": "create_with_image_url",
  "sub_platform": "BONKWSOL",
  "transaction_data": {
    "rpcs": ["standard"],
    "identifier": "bonk_create_1",
    "priority_fee": 1000000,
    "payer_wallet": "SOLANA_WALLET"
  },
  "launch_data": {
    "name": "Bonk Coin",
    "symbol": "BONKX",
    "description": "Example Bonk.fun launch",
    "twitter": "https://x.com/example/status/1",
    "attached_referral": null,
    "website": null,
    "generated": false,
    "multi_deploy_count": 1
  },
  "image_url": "https://example.com/image.png",
  "buy_config": {
    "type": "standard",
    "buy_amount": 50000000,
    "min_tokens_out": 0
  },
  "is_bonkers": false
}

Sell

FieldType
rpcsstring[]
identifierstring
mintstring
sell_amtnumber
priority_feenumber
selling_walletstring
creatorstring
min_outnumber
sub_platformBONKWSOL | BONKUSD1
is_bonkersboolean
Example:
{
  "platform": "raydium_launchpad",
  "type": "sell",
  "rpcs": ["standard"],
  "identifier": "bonk_sell_1",
  "mint": "TOKEN_MINT",
  "sell_amt": 250000000,
  "priority_fee": 1000000,
  "selling_wallet": "SOLANA_WALLET",
  "creator": "CREATOR_WALLET",
  "min_out": 0,
  "sub_platform": "BONKUSD1",
  "is_bonkers": false
}

Notes

  • launch_data.multi_deploy_count is only useful on the WSOL Bonk.fun path.
  • The same shared buy_config and supply_transfer formats from generic transactions apply here.