simulate_trade
Estimate token or USDC amounts for potential trades using bonding curve pricing without executing transactions.
Instructions
Simulate a buy or sell trade to estimate how many tokens you'd receive for a given USDC amount (or vice versa). Does NOT execute a trade. Uses the bonding curve formula: price = basePrice + priceIncrement * tokensSold.
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": {
"symbol": "<symbol>",
"side": "<side>",
"amount": "<amount>"
},
"name": "simulate_trade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | The token symbol | |
| side | Yes | Trade direction: 'buy' (USDC → tokens) or 'sell' (tokens → USDC) | |
| amount | Yes | For buy: USDC amount (e.g. 100 = $100). For sell: token amount (human-readable, e.g. 1000000 = 1M tokens) |