Token price candles (OHLCV)
get_token_candlesOpen/high/low/close price candles and traded volume for a token, newest last, for charts, trend and volatility questions. Prices are per token in ADA (default) or USD; volume is in ADA. Returns compact rows: [time ISO, open, high, low, close, volumeAda, trades].
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": {
"unit": "<unit>"
},
"name": "get_token_candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | Token unit: 56-hex policy id followed by the asset name in hex (no separator). Get it from `search` or `list_tokens`. | |
| limit | No | How many most recent candles to return (1-500, default 100). | |
| quote | No | Currency of the prices. | ADA |
| allPools | No | true aggregates every pool of the token (volume-weighted price, summed volume); false uses its primary pool. | |
| interval | No | Candle width. | 1h |