Skip to main content

TypeScript shape

interface TokenSparklineInput {
  ids: string[];
  from?: number | null;
  to?: number | null;
  resolution?: string | null;
  fillMissingBars?: boolean | null;
}
ids
[String!]!
required
Token IDs in the format address:networkId.
from
Int
Start timestamp (unix).
to
Int
End timestamp (unix).
resolution
String
Time resolution (e.g. “1D”, “1H”).
fillMissingBars
Boolean
Whether to fill gaps in the sparkline data.