Query editor
-- Robinhood Chain — where every dollar of fee revenue goes, cumulative since launch.WITH l2 AS (SELECTblock_date AS day,SUM(CAST(gas_used AS double) * CAST(effective_gas_price AS double)) / 1e18 AS fee_ethFROM robinhood.transactionsWHERE block_date >= DATE '2026-04-30'AND block_date < CURRENT_DATEGROUP BY 1),batch_tx AS (SELECT block_date, hash,CAST(gas_used AS double) * CAST(gas_price AS double) / 1e18 AS exec_ethFROM ethereum.transactionsWHERE block_date >= DATE '2026-04-30'AND block_date < CURRENT_DATEAND "to" = 0xbd0d173eeb87d57a09521c24388a12789f33ba96),blob_tx AS (SELECT tx_hash,MAX(CAST(blob_gas_price AS double) * CAST(blob_gas_used AS double)) / 1e18 AS blob_ethFROM ethereum.logsWHERE block_date >= DATE '2026-04-30'AND block_date < CURRENT_DATEAND contract_address = 0xbd0d173eeb87d57a09521c24388a12789f33ba96GROUP BY 1),l1 AS (SELECT b.block_date AS day,SUM(b.exec_eth) AS l1_exec_eth,SUM(COALESCE(bl.blob_eth, 0)) AS l1_blob_ethFROM batch_tx bLEFT JOIN blob_tx bl ON bl.tx_hash = b.hashGROUP BY 1),eth_price AS (SELECT CAST(timestamp AS date) AS day, price AS eth_usdFROM prices.dayWHERE blockchain = 'ethereum'AND contract_address = 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2AND timestamp >= TIMESTAMP '2026-04-30'),totals AS (SELECTSUM(l2.fee_eth * p.eth_usd) AS fee_revenue,SUM(COALESCE(l1.l1_exec_eth, 0) * p.eth_usd) AS eth_calldata_cost,SUM(COALESCE(l1.l1_blob_eth, 0) * p.eth_usd) AS eth_blob_costFROM l2JOIN eth_price p ON p.day = l2.dayLEFT JOIN l1 ON l1.day = l2.day),flow AS (SELECTfee_revenue,