dex_pools
List DEX liquidity pools for a specific chain and exchange. Returns pool addresses needed for dex_candle and dex_trade queries.
Usage hints:
- Both chain and exchange are required — use dex_chains and dex_exchanges first
- Pool addresses are needed as input for dex_candle and dex_trade
REST endpoint
GET /api/v1/dex/pools — see REST reference.
Parameters
| Name | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
exchange | string | no | Specifies exchange name | "..." | |
chain | string | no | Specifies the chain name | "..." |
Example invocation
JSON-RPC tools/call payload:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "dex_pools",
"arguments": {}
}
}