Documentation Index
Fetch the complete documentation index at: https://docs.launchblitz.ai/llms.txt
Use this file to discover all available pages before exploring further.
Use platform: "pump_fun" for Pump.fun launches and trades.
Methods
| Type | Purpose |
|---|
create_with_image_url | Create a token using a remotely hosted image URL. |
create_with_image_blob | Create a token using raw image bytes. |
buy | Buy an existing Pump.fun token. |
sell | Sell an existing Pump.fun token. |
collect_creator_fee | Claim 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
| Field | Type |
|---|
rpcs | string[] |
identifier | string |
mint | string |
buy_amt | number |
min_tokens_out | number |
priority_fee | number |
buying_wallet | string |
creator | string |
is_mayhem_mode | boolean |
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
| Field | Type |
|---|
rpcs | string[] |
identifier | string |
mint | string |
sell_amt | number |
priority_fee | number |
selling_wallet | string |
creator | string | null |
min_out | number |
is_mayhem_mode | boolean |
cashback | boolean |
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"
}
}