xflows_get_quote
Get a real-time quote for cross-chain token swaps with DEX and bridge options. Specify source and destination chains, tokens, and amount to evaluate the transfer cost.
Instructions
Get quote for cross-chain swap with DEX integration (XFlows API, section 4)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dex | No | DEX to use for swaps | |
| bridge | No | Bridge to use | wanbridge |
| slippage | No | Slippage tolerance (e.g., 0.01 for 1%) | |
| toAddress | Yes | Recipient wallet address | |
| toChainId | Yes | Destination chain ID | |
| fromAmount | Yes | Amount to swap/bridge | |
| fromAddress | Yes | Sender wallet address | |
| fromChainId | Yes | Source chain ID (e.g., 100010 for VeChain testnet) | |
| toTokenAddress | Yes | Destination token contract address | |
| fromTokenAddress | Yes | Source token contract address |