Retrieves historical price data for a SUI token with different time intervals based on the range Unix timestamp in seconds. If not provided, returns data for last 24 hours. Different ranges will have different intervals:
The token contract address
(recommended) The time range to get the price chart data. If not provided, defaults to using the 'from' and 'to' parameters.
1h
, 1D
, 1W
, 1M
, YTD
, ALL
Start timestamp in seconds. If not provided, defaults to 24 hours ago
End timestamp in seconds. If not provided, defaults to current time
Successful response with price chart data
The response is of type object
.