get_swap_quote
Obtain executable quotes with transaction data for token swaps across multiple blockchains, enabling precise trade execution with specified slippage and token details.
Instructions
Get executable quote with transaction data for a token swap
Input Schema
Name | Required | Description | Default |
---|---|---|---|
buyToken | Yes | Contract address of token to buy | |
chainId | Yes | Blockchain ID (e.g., 1 for Ethereum) | |
sellAmount | Yes | Amount of sellToken in base units | |
sellToken | Yes | Contract address of token to sell | |
slippageBps | No | Maximum acceptable slippage in basis points (optional, default: 100) | |
taker | No | Address executing the trade (optional, uses USER_ADDRESS from env) |