swap_route
Meta-router swap quotes with executable calldata: races LI.FI, KyberSwap and Velora and returns the best net output with ready-to-sign transaction data. A 0.3% integrator fee on executed swaps routes to the service wallet on-chain. Base + 60 chains (cross-chain via LI.FI). Pay-per-call $0.002 (USDC on Base, x402/MPP - a 402 challenge is returned on unpaid calls).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toChain | No | optional | |
| toToken | Yes | required | |
| slippage | No | optional | |
| fromChain | No | optional | |
| fromToken | Yes | required | |
| fromAmount | Yes | required | |
| fromAddress | Yes | required |