get_token_chart_data
Retrieve bar chart data for token price changes over time using either a pair or token address.
Instructions
Returns bar chart data to track token price changes over time. Can be queried using either a pair address or token address.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | Unix timestamp | |
| address | Yes | The pair address or token address to get chart data for. If a token address is provided, the token's top pair will be used. | |
| countback | No | ||
| networkId | Yes | The network ID the pair or token is on | |
| statsType | No | The type of statistics returned. Can be FILTERED or UNFILTERED | |
| quoteToken | No | The token of interest (token0 or token1) | |
| resolution | Yes | The time frame for each candle. Available options are 1, 5, 15, 30, 60, 240, 720, 1D, 7D | |
| symbolType | No | ||
| currencyCode | No | ||
| removeEmptyBars | No | ||
| removeLeadingNullValues | No |