solana_getcandlesticks
Retrieve candlestick data for a specific token pair on Solana networks. Specify time range, interval, and currency format to analyze historical price movements.
Instructions
Gets the candlesticks for a specific pair address
Input Schema
Name | Required | Description | Default |
---|---|---|---|
address | Yes | The address to query | |
currency | Yes | The currency format | usd |
cursor | No | The cursor to the next page | |
fromDate | Yes | The starting date (format in seconds or datestring accepted by momentjs) | 2024-10-09 |
limit | No | The limit per page | |
network | Yes | The network to query | |
timeframe | Yes | The interval of the candle stick | 1min |
toDate | Yes | The ending date (format in seconds or datestring accepted by momentjs) | 2024-10-10 |
Input Schema (JSON Schema)
{
"properties": {
"address": {
"description": "The address to query",
"type": "string"
},
"currency": {
"default": "usd",
"description": "The currency format",
"enum": [
"usd",
"native"
],
"type": "string"
},
"cursor": {
"description": "The cursor to the next page",
"type": "string"
},
"fromDate": {
"default": "2024-10-09",
"description": "The starting date (format in seconds or datestring accepted by momentjs)",
"type": "string"
},
"limit": {
"default": 100,
"description": "The limit per page",
"maximum": 1000,
"minimum": 1,
"type": "number"
},
"network": {
"description": "The network to query",
"enum": [
"mainnet",
"devnet"
],
"type": "string"
},
"timeframe": {
"default": "1min",
"description": "The interval of the candle stick",
"enum": [
"1s",
"10s",
"30s",
"1min",
"5min",
"10min",
"30min",
"1h",
"4h",
"12h",
"1d",
"1w",
"1M"
],
"type": "string"
},
"toDate": {
"default": "2024-10-10",
"description": "The ending date (format in seconds or datestring accepted by momentjs)",
"type": "string"
}
},
"required": [
"network",
"address",
"fromDate",
"toDate",
"timeframe",
"currency"
],
"type": "object"
}