Quote a swap
quote_swapGet a quote for a single-hop Uniswap v4 swap on Robinhood Chain, verifying pool liquidity and minimum output amount before execution.
Instructions
Quote an exact-input single-hop swap through the Uniswap v4 Quoter on Robinhood Chain. Proves the pool has liquidity and sizes minAmountOut before executing. Reverts if there is no/thin pool for the given fee + tickSpacing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fee | No | pool fee (default 3000 = 0.3%) | |
| tokenIn | Yes | input token symbol or 0x address | |
| amountIn | Yes | human-readable input amount, e.g. "1" or "0.5" | |
| tokenOut | Yes | output token symbol or 0x address | |
| tickSpacing | No | pool tick spacing (default 60) |