Get cross-chain swap quotes
get_quoteGet cross-chain swap quotes from BazaarSwap, returning the best route and every route found, sorted by net output. Read-only: no funds move, and the returned quoteId feeds build_swap_tx.
Instructions
Race the BazaarSwap routing backend for cross-chain swap quotes (for example EVM assets into ADA) and return the best route plus every route found, sorted by net output. Read-only: quoting moves no funds. Amounts are in the source token's smallest unit. The returned quoteId feeds build_swap_tx. The race can take up to ~25 seconds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to send, in the source token's smallest unit | |
| toChain | Yes | Destination chain id, e.g. "CARDANO" for Cardano | |
| toToken | Yes | Destination token address; native ADA on "CARDANO" is the zero address | |
| slippage | No | Slippage tolerance in percent, e.g. "0.5" | |
| fromChain | Yes | Source chain id, e.g. "1" for Ethereum | |
| fromToken | Yes | Source token address (or native-token sentinel) | |
| userAddress | Yes | Sender address on the source chain | |
| recipientAddress | No | Destination-chain recipient; defaults to the sender when omitted |