Retrieves Open-High-Low-Close-Volume (OHLCV) data for a specific pool, potentially over a specified time range.
Unique pool address or identifier. Such as 0xc7bbec68d12a0d1830360f8ec58fa599ba1b0e9b for WETH / USDT on ethereum.
Start time for the OHLCV data. Accepted formats:
"1741507640"
Start time for the OHLCV data. Accepted formats:
"1741508640"
Maximum number of OHLCV records to return.
1 <= x <= 366The time interval for each OHLCV record (candle).
1m, 5m, 10m, 15m, 30m, 1h, 6h, 12h, 24h Whether to invert the price ratio in OHLCV calculations (e.g., quote token vs. base token).
A list of OHLCV records successfully retrieved.
The opening timestamp of the OHLCV period.
"2023-10-27T10:00:00Z"
The closing timestamp of the OHLCV period.
"2023-10-27T11:00:00Z"
The opening price for the period.
1500.5
The highest price reached during the period.
1525.75
The lowest price reached during the period.
1495.25
The closing price for the period.
1510
The total volume traded during the period.
1234567890123