Quote a buy or sell
polypad_quote_tradeQuote a buy (ETH in) or sell (token amount in) for a launch token, on the bonding curve or in the Uniswap V4 pool after graduation. Returns expected output, minimum after slippage, and fees. A reading, not a promise.
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": {
"token": "<token>",
"side": "<side>"
},
"name": "polypad_quote_trade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | buy or sell. | |
| token | Yes | Symbol, name, token address, or launch address. | |
| amount | No | Base units as a decimal string: wei of ETH for a buy, token base units (18 decimals) for a sell. | |
| amountEth | No | Buy only: ETH as a decimal such as 0.01. Use instead of amount. | |
| slippageBps | No | Slippage limit in basis points. Default 100, maximum 1000. |