flow_quote
may change things: you confirm before it runsGet a best-execution swap quote on Base. Compares Uniswap V3, PancakeSwap V3 and Aerodrome (plus two-hop routes via WETH), returns the winning venue, expected output, edge in bps vs the baseline, a liquidity flag (deep/watch/thin), the exact block number and timestamp, and build latency. Read-only: no funds move.
Input schema
{
"type": "object",
"properties": {
"tokenIn": {
"type": "string",
"description": "Input token contract address on Base (e.g. USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA4E46E)"
},
"tokenOut": {
"type": "string",
"description": "Output token contract address on Base (e.g. WETH 0x4200000000000000000000000000000000000006)"
},
"amountIn": {
"type": "string",
"description": "Human-readable input amount, e.g. \"10\" for 10 USDC"
},
"chainId": {
"type": "number",
"description": "Chain id, defaults to 8453 (Base)"
}
},
"required": [
"tokenIn",
"tokenOut",
"amountIn"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}