quote_swap
Get the best executable swap quote on Base for a given input amount by testing all Uniswap V3 fee tiers.
Instructions
Real exact-input swap quote on Base via Uniswap V3 QuoterV2. Tries all fee tiers (0.01%, 0.05%, 0.3%, 1%) and returns the best executable output. Amounts are human units (e.g. '0.5').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenIn | Yes | Input token address | |
| amountIn | Yes | Human-readable input amount, e.g. '0.5' | |
| tokenOut | Yes | Output token address |