get_quote
Get a cross-chain quote: best route, output amount, calldata, gas. Use get_chains and get_tokens first to resolve chain IDs and token addresses.
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": {
"originChainId": "<originChainId>",
"destinationChainId": "<destinationChainId>",
"amount": "<amount>",
"originCurrency": "<originCurrency>",
"destinationCurrency": "<destinationCurrency>",
"senderAddress": "<senderAddress>"
},
"name": "get_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fee | No | Fee 0–0.1 (only with integrator) | |
| amount | Yes | Amount in smallest units (wei/smallest decimals) | |
| slippage | No | Slippage tolerance 0–1 (e.g. 0.005 for 0.5%) | |
| integrator | No | Integrator identifier | |
| originChainId | Yes | Origin chain ID (e.g. 1 for Ethereum, 42161 for Arbitrum) | |
| senderAddress | Yes | Sender wallet address on the origin chain | |
| originCurrency | Yes | Token address on origin chain; use 0x0... for native currency | |
| receiverAddress | No | Receiver wallet address | |
| destinationChainId | Yes | Destination chain ID | |
| destinationCurrency | Yes | Token address on destination chain; use 0x0... for native |