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.
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 |