Returns
List of sparkline data per token.Show View fields (TokenSparkline, each element)
Token ID (address:networkId).
Time resolution of the sparkline.
Attribute tracked (e.g. PRICE).
Arguments
input
TokenSparklineInput!
required
Sparkline query parameters.
Token IDs in the format address:networkId.
Time resolution (e.g. “1D”, “1H”).
Whether to fill gaps in the sparkline data.
Example
{
tokenSparklines(
input: {ids: ["So11111111111111111111111111111111111111112:1399811149"], resolution: "60"}
) {
id
resolution
attribute
sparkline {
timestamp
value
}
}
}
Playground