Query editor
-- Fee math: Tempo gas is USD-denominated (attodollars per gas).-- Fee in USD = ceil(gas_used * gas_price / 1e12) / 1e6 (microdollar rounding).---- Contracts deployed: count rows in creation_traces, not DISTINCT tx_hash.-- Note: tempo.creation_traces has no block_date column — derive from block_time-- and prune on block_month (the partition column) for cost efficiency.---- Unique users: distinct addresses seen as sender OR receiver on a given day-- (senders ∪ receivers, deduplicated). Matches the definition used in the-- counters query. unique_senders / unique_receivers are also exposed for-- narrower framings.---- cum_unique_senders: previously named cum_unique_addresses, but it only tracks-- first-seen senders (not receivers). Added cum_unique_receivers and-- cum_unique_users (union) as complements for clarity.WITH first_seen_sender AS (SELECT"from" AS address,MIN(block_date) AS first_dateFROM tempo.transactionsWHERE "from" != 0x0000000000000000000000000000000000000000AND block_date >= DATE '2026-03-18'GROUP BY 1),first_seen_receiver AS (SELECT"to" AS address,MIN(block_date) AS first_dateFROM tempo.transactionsWHERE "from" != 0x0000000000000000000000000000000000000000AND "to" IS NOT NULLAND block_date >= DATE '2026-03-18'GROUP BY 1),first_seen_any AS (SELECT address, MIN(first_date) AS first_dateFROM (SELECT address, first_date FROM first_seen_senderUNION ALLSELECT address, first_date FROM first_seen_receiver)GROUP BY 1),-- Daily unique users: distinct addresses that were either sender or receiver-- on that day. Computed from a pre-deduped per-day address set.daily_users_active AS (SELECT block_date, COUNT(*) AS unique_usersFROM (SELECT DISTINCT block_date, addressFROM (SELECT block_date, "from" AS addressFROM tempo.transactionsWHERE "from" != 0x0000000000000000000000000000000000000000AND block_date >= DATE '2026-03-18'