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