get_swap_quote
Obtain token swap quotes across blockchain networks, including estimated output amounts, fees, and transaction time estimates for cross-chain or same-chain token exchanges.
Instructions
Get a quote for swapping between different tokens, optionally across chains (e.g. ETH on Ethereum → USDC on Base, or USDC → WETH on the same chain). Returns estimated output amount, fees, and time estimate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| originChainId | Yes | Source chain ID (e.g. 1 for Ethereum). | |
| destinationChainId | Yes | Destination chain ID. Can be the same as originChainId for same-chain swaps. | |
| originCurrency | Yes | Token address to swap from. Use "0x0000000000000000000000000000000000000000" for native ETH. | |
| destinationCurrency | Yes | Token address to swap to. Use "0x0000000000000000000000000000000000000000" for native ETH. | |
| amount | Yes | Amount to swap in the origin token's smallest unit (wei for ETH). | |
| sender | Yes | Sender wallet address. | |
| recipient | No | Recipient wallet address. Defaults to sender. |