Swap / bridge quote
exchange_quoteBest route to convert any token to any token across chains: output, minimum output, fees, gas, time; with 'alternatives', other routes to compare. Sanctions-screened. Ellimist fee: 0.25% of volume, at least $0.05 and never more than 1%. Conversions are executed by third-party smart contracts (routed by LI.FI) that may fail or be exploited; funds may be lost and transactions are irreversible. Price: $0.005 USDC per call via x402 (no account). Not charged if it fails.
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": {
"from_chain": "<from_chain>",
"to_chain": "<to_chain>",
"from_token": "<from_token>",
"to_token": "<to_token>",
"from_amount": "<from_amount>",
"from_address": "<from_address>"
},
"name": "exchange_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | CHEAPEST | |
| slippage | No | ||
| to_chain | Yes | ||
| to_token | Yes | symbol (ETH) or token address | |
| from_chain | Yes | ||
| from_token | Yes | symbol (USDC) or token address | |
| to_address | No | ||
| from_amount | Yes | amount in the token's smallest unit | |
| alternatives | No | also return up to this many alternative routes | |
| from_address | Yes | ||
| allow_high_impact | No |