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.
Input Schema
TableJSON 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) |