Quote a trade
quote_tradeQuote a buy (by SOL in) or a sell (by tokens in) of a higher.fun coin, wherever it trades now: the LaunchLab bonding curve, or its Raydium CPMM pool after graduation. Returns the expected output, the minimum at the given slippage, price impact, the fees split by who receives them under the coin's fee mode, and Highwire's 0.3% trade fee (highwireFee), which a trade built through Highwire carries. Reads only.
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": {
"mint": "<mint>",
"side": "<side>"
},
"name": "quote_trade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sol | No | For a buy: SOL to spend. | |
| mint | Yes | The coin's mint address (base58). higher.fun mints usually end in 'high'. | |
| side | Yes | buy spends SOL for tokens; sell spends tokens for SOL. | |
| tokens | No | For a sell: whole tokens to sell (supply is 1B). | |
| slippage_bps | No | Slippage for the minimum out, in bps (100 = 1%). |