get_swap_quote
Retrieve a token swap quote on SailFish DEX by specifying input and output token addresses, amount, and fee tier for accurate exchange calculations.
Instructions
Get a quote for swapping tokens on SailFish DEX
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amountIn | Yes | Amount of input token to swap | |
fee | No | Fee tier (100=0.01%, 500=0.05%, 3000=0.3%, 10000=1%) | |
tokenIn | Yes | Address of the input token | |
tokenOut | Yes | Address of the output token |
Input Schema (JSON Schema)
{
"properties": {
"amountIn": {
"description": "Amount of input token to swap",
"type": "string"
},
"fee": {
"description": "Fee tier (100=0.01%, 500=0.05%, 3000=0.3%, 10000=1%)",
"type": "number"
},
"tokenIn": {
"description": "Address of the input token",
"type": "string"
},
"tokenOut": {
"description": "Address of the output token",
"type": "string"
}
},
"required": [
"tokenIn",
"tokenOut",
"amountIn"
],
"type": "object"
}