pons_quote_swap
Get an on-chain Uniswap V4 swap quote for a graduated token, with hook fees included. Supports native ETH-quoted and ERC-20-quoted pools, returning amountOut, gas estimate, pool key, and price details.
Instructions
Quote a Uniswap V4 swap for a GRADUATED token via the on-chain V4Quoter (hook fees included). Native ETH-quoted and ERC-20-quoted pools. Returns amountOut, quoter gas estimate, pool key, sqrtPrice/tick/liquidity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | buy = quote asset in (ETH for native pools, the pair token otherwise), token out; sell = token in, quote asset out | |
| amount | Yes | Input amount as a decimal string — for buys on ERC-20-quoted pools this is PAIR-TOKEN units (e.g. USDG, 6 decimals), NOT ETH; for sells it is tokens | |
| tokenAddress | Yes | Graduated token address |