bridge_route_optimizer
Find the optimal cross-chain bridge route using LI.FI. Compare fees, speed, and output across bridges for any chain pair. Supports ETH, USDC, and custom tokens across Ethereum, Arbitrum, Optimism, Base, Polygon, zkSync, and more. Use toChain='scan' to compare all L2 destinations. Costs $0.01 USDC per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | Token to bridge: 'ETH', 'USDC', or token address (default: ETH) | ETH |
| amount | No | Amount in human units (e.g. '1.0' for 1 ETH, '1000' for 1000 USDC) | 1.0 |
| toChain | Yes | Destination chain (e.g. 'optimism', 'polygon'). Use 'scan' to compare all L2s. | |
| fromChain | Yes | Source chain (e.g. 'ethereum', 'arbitrum', 'base') |