Skip to main content
Some numbers you can add up and some you cannot. Fees for a week are the seven daily figures added together. Circulating supply for a week is not: add seven days of supply and you get a number seven times too big. Add up a count of distinct addresses and you count anyone who showed up on two days twice. Two tables hold the rules.
  • dimensions.metrics: one row per measure per kind of thing measured, with its unit and its combination rules.
  • dimensions.metric_instances: one row per measure with a specific wording, for one entity.

Tables

dimensions.metrics holds one row per measure per kind of thing measured, and each row says which daily table the measure sits in, what unit it is in, and what to do with it when you combine days or combine things. The rows come from the same authored definitions the daily tables are built from, so the two never disagree.Two columns hold the answer to whether a measure sums. over_time says what to do when you turn several days into one figure. across_dimensions says what to do when you turn several things, such as several chains or apps, into one figure. measure_type names which of four kinds of number you are looking at, and additivity sums that up in a word.A flow counts activity over a stretch of time, so it adds up freely in both directions: across days, and across the things being measured. Fees for a project are its appsโ€™ fees added together, just as fees for a week are seven days added together.A balance is a level: how much of something there was at the end of the day. Balances add up across things but never across days: the supply of USDC is its supply on each chain added together. For a range of days, take the last dayโ€™s figure.A ratio is a rate, such as a yield. A unique count counts distinct addresses. Neither adds up, and both read unsupported across things because the daily table alone does not hold enough to combine them correctly. Averaging two yields needs to know how much money sits behind each, and the daily table does not carry that. Combining two counts of distinct addresses needs the addresses themselves, not the counts. Assets โ–ธ Senders shows how a count of distinct addresses widens.
ColumnTypeDescription
metric_idSTRINGIdentifier of the measure, including the kind of thing it measures.
entity_idSTRINGKind of thing the measure is defined for: an asset, a project, a chain.
measureSTRINGName of the measure.
column_nameSTRINGColumn the measure sits in on its daily table.
served_bySTRINGDaily table the measure sits in.
titleSTRINGDisplay title.
generic_definitionSTRINGWhat the measure means, whatever it is measuring.
ai_hintSTRINGGuidance for software reading the table on how to use the measure.
unitSTRINGUnit of the value: usd, count, ratio, pct.
formatSTRINGHow to display the value.
deprecatedBOOLWhether the measure is retired.
measure_typeSTRINGflow, balance, ratio or unique_count.
additivitySTRINGadditive, semi_additive or non_additive.
value_grainSTRINGThe level the value is measured at.
over_timeSTRINGWhat to do when turning several days into one figure.
across_dimensionsSTRINGWhat to do when turning several things into one figure.
ranking_directionSTRINGWhich end of a ranking counts as better.
dimensionsARRAY<STRING>Ways the measure can be broken down.
formula_expressionSTRINGThe formula, where the measure is worked out from others.
formula_dependenciesARRAY<STRING>Measures the formula reads.
formula_summarySTRINGThe formula in words.
methodology_summarySTRINGHow the measure is worked out.
source_typesARRAY<STRING>Kinds of source the measure comes from.
caveatsARRAY<STRING>Known limitations of the measure.
notesARRAY<STRING>Additional notes.
quality_minimumFLOAT64Lowest value considered plausible.
quality_maximumFLOAT64Highest value considered plausible.
inserted_atTIMESTAMPWhen the row was published.

Sample queries

List every measure in one daily table, with the rules for combining it.