pons_quote_buy
Quotes a bonding-curve purchase, calculating tokens received, fees, taxes, and price impact, with on-chain cross-check for accuracy.
Instructions
Quote a bonding-curve buy: local exact curve math (fees, creator tax, live snipe tax, clamp at reserved allocation) cross-checked against an on-chain eth_call of buy(). Returns tokensOut, fee legs, price impact, and the cross-check result.
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": {
"curveAddress": "<curveAddress>",
"amount": "<amount>"
},
"name": "pons_quote_buy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Quote amount as a decimal string (ETH for native pairs, pair-token units otherwise) | |
| recipient | No | Recipient the snipe tax is priced for (default: 0x…dEaD) | |
| curveAddress | Yes | Bonding curve contract address |