exec_quote
Best-route swap quote across DEXes (KyberSwap aggregator): expected output, USD in/out, price impact %, gas cost, and the DEXes routed through. Send { chain, tokenIn, tokenOut, amountIn } (amountIn in smallest units). Quote only — never executes. Pre-trade routing for trading agents. [x402 paid tool — price $0.05; POST /api/exec/quote]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | base (default), ethereum, arbitrum, polygon, optimism, bsc, avax | |
| tokenIn | Yes | 0x token address to sell | |
| amountIn | Yes | Amount to sell in smallest units (wei) | |
| tokenOut | Yes | 0x token address to buy |