Bridge routes
bridge_route_optimizerFind 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fromChain": "<fromChain>",
"toChain": "<toChain>"
},
"name": "bridge_route_optimizer"
}
}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') |