Skip to main content

TypeScript shape

interface TokenSparkline {
  id: string;
  resolution: string;
  attribute: SparklineAttribute | null;
  sparkline: SparklineValue[];
}
id
String!
Token ID (address:networkId).
resolution
String!
Time resolution of the sparkline.
attribute
SparklineAttribute!
Attribute tracked. See SparklineAttribute.
sparkline
[SparklineValue!]!
List of data points. See SparklineValue.