Query editor
-- Robinhood Chain: daily transactions split by stock-token involvement.---- Stock token universe = every token minted by the Robinhood stock token factory-- 0x4783c67b63de2b358ac5951a7d41f47a38f3c046, read live from its Deployed event-- (no hardcoded count -- the factory can deploy more at any time).-- A tx counts as stock-token activity if any of its logs came from one of those tokens.---- The share denominator now EXCLUDES ArbOS per-block system txs, which are sequencer-- overhead (~10% of raw transactions) and were diluting the percentage. The NULL-safe-- predicate keeps contract-creation txs, whose `to` IS NULL.WITH stock_tokens AS (SELECT DISTINCT stock AS tokenFROM rwa_stock_factory_robinhood.factory_deployer_evt_deployed),first_deploy AS (SELECT min(evt_block_date) AS dFROM rwa_stock_factory_robinhood.factory_deployer_evt_deployed),stock_daily AS (SELECTl.block_date AS day,count(DISTINCT l.tx_hash) AS txsFROM robinhood.logs lJOIN stock_tokens s ON s.token = l.contract_address-- no stock token existed before the first deployment, so prune those partitionsWHERE l.block_date >= (SELECT d FROM first_deploy)GROUP BY 1),total_daily AS (SELECT block_date AS day, count(*) AS txsFROM robinhood.transactionsWHERE "to" IS NULL OR "to" <> 0x00000000000000000000000000000000000a4b05GROUP BY 1)SELECTt.day,coalesce(s.txs, 0) AS stock_token_txs,t.txs - coalesce(s.txs, 0) AS other_txs,t.txs AS total_txs,100.0 * coalesce(s.txs, 0) / t.txs AS stock_share_pctFROM total_daily tLEFT JOIN stock_daily s ON s.day = t.dayORDER BY t.day