dragonswap_get_quote
Retrieve a swap quote on DragonSwap V3 DEX. Provide input token, output token, and amount to get estimated output adjusting for slippage.
Instructions
Get a quote for swapping tokens on DragonSwap V3 DEX. Note: USDT uses 6 decimals, most other tokens use 18 decimals. For stKAIA, you can use either 'stKAIA' or 'STAKED_KAIA'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenIn | Yes | Input token address or symbol (e.g., 'KAIA', 'USDT', 'stKAIA', '0x1234...') | |
| tokenOut | Yes | Output token address or symbol (e.g., 'KAIA', 'USDT', 'stKAIA', '0x1234...') | |
| amountIn | Yes | Amount of input tokens to swap (in human-readable format, e.g., '1.5') | |
| amountInDecimals | No | Number of decimals for the input token (auto-detected if not provided, USDT=6, most tokens=18) | |
| slippage | No | Slippage tolerance in basis points (e.g., 50 = 0.5%) |