get_token_pools
Find available liquidity pools, DEX names, and pricing for a Cardano token pair across all DEXes to identify the best swap route.
Instructions
Get available liquidity pools for a token pair across all Cardano DEXes. Returns pool data including liquidity, DEX names, and pricing for finding the best swap routes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tokenInAmount": "<tokenInAmount>",
"tokenIn": "<tokenIn>",
"tokenOut": "<tokenOut>"
},
"name": "get_token_pools"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenIn | Yes | Input token identifier. Use 'lovelace' for ADA, or 'policyId.assetNameHex' format for native tokens | |
| tokenOut | Yes | Output token identifier in 'policyId.assetNameHex' format | |
| tokenInAmount | Yes | Amount of input token to swap | |
| blacklisted_dexes | No | List of DEX names to exclude from results (e.g., ['Minswap', 'SundaeSwap']) |