Skip to main content
Money and token quantities are Amount objects, never JSON numbers:
That is 12.345678 USD.
  • value is an integer in base units, as a string, and negative below zero.
  • currency is USD, or the token id of a token quantity (tok_solana_<mint>).
  • priceAsOf is present when we converted a value with a price, and holds the time of that price.
  • Ratios (returnPct, multiple) and counts are JSON numbers.
Read value with a decimal or big integer type. A float loses digits: a token quantity with 18 decimals does not fit in a JavaScript number.

Time

  • Times in bodies are RFC3339 in UTC with milliseconds: 2026-11-01T08:42:10.250Z.
  • A time in a query parameter, such as at on a leaderboard, is RFC3339 with Z or an offset.
  • observedAt on a block is when we last read it from the platform.