StonkFun Launch Preflight
stonk_preflightCall BEFORE broadcasting a self-built Raydium LaunchLab launch meant for StonkFun. Pass the base64 unsigned transaction, the quote mint, and the mode; it decodes the initialize instruction and diffs every parameter against StonkFun's /launchlab/pricing — GlobalConfig, platform id per mode, curve, supply, totalSellA, raise, 6-decimal Token-2022 base mint, quote token program, curve-rule account last, and the reward-mode transfer fee (including Raydium's transferFeeBasePoints / maxinumFee spelling). Returns ok, mismatches with fixes, warnings. A mismatched pool is never adopted: the tax goes to nobody.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"unsigned_transaction": "<unsigned_transaction>",
"quote_mint": "<quote_mint>",
"mode": "<mode>"
},
"name": "stonk_preflight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Launch mode | |
| quote_mint | Yes | Quote mint the launch is priced against | |
| launch_params | No | Optional: the params object you passed to the SDK, linted for misspelled fee fields | |
| unsigned_transaction | Yes | Base64 unsigned transaction (legacy or v0) with the LaunchLab initialize instruction |