sodax_get_amm_pool_candles
Get OHLCV candlestick chart data for an AMM pool
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": {
"chainId": "<chainId>",
"poolId": "<poolId>",
"interval": "<interval>",
"from": "<from>",
"to": "<to>"
},
"name": "sodax_get_amm_pool_candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | REQUIRED: End timestamp (unix seconds) | |
| from | Yes | REQUIRED: Start timestamp (unix seconds) | |
| format | No | Response format: 'json' for raw data or 'markdown' for formatted text | markdown |
| poolId | Yes | The pool contract address or ID | |
| chainId | Yes | Numeric chain id where the pool is deployed (e.g. '146' for Sonic) | |
| interval | Yes | REQUIRED: Candle interval |