Skip to main content
metrics_tokens.price_daily holds one row per token per day: the price in USD at midnight UTC. metrics_tokens.price_hourly holds the same figure at the top of every hour.

Columns

Both tables share one schema.
ColumnTypeDescription
timestampTIMESTAMPThe moment the price was taken: midnight UTC in the daily table, the top of the hour in the hourly one.
token_idSTRINGToken the price belongs to: {token_address}-{chain_id}. Joins dimensions.tokens.
chain_idSTRINGChain the token is deployed on.
priceFLOAT64The price in US dollars at that moment. Every row has a value, and a token has a row on each day it was priced, so a null after a left join is a missing row.

Sample queries

The daily table suits long histories and joins to the other daily tables at a fraction of the hourly table’s size. token_id is the key on both sides of the join.