Query editor
-- Robinhood Chain: throughput + transaction counts since inception.---- COUNTS EXCLUDE ARBOS SYSTEM TXS. Nitro emits one ArbitrumInternalTx per block-- (~10/sec, ~10% of all txs on this chain). Including them inflated tx counts, TPS-- and peak TPS while the transaction-cost panel excluded them. The NULL-safe-- predicate keeps contract-creation txs, whose `to` IS NULL.-- txs_incl_system / cumulative_txs_incl_system return the raw totals.---- DAILY TPS DENOMINATOR: completed days use a full 86,400s. Previously every day-- was divided by the span between its first and last transaction, which for the-- sparse May/June days meant "TPS while active" rather than a daily average and-- overstated early throughput. Only the in-progress day still uses elapsed span.WITH per_second AS (SELECTblock_date,date_trunc('second', block_time) AS ts,count(*) AS txs_all,count_if("to" IS NULL OR "to" <> 0x00000000000000000000000000000000000a4b05) AS txs_userFROM robinhood.transactionsGROUP BY 1, 2),daily_tx AS (SELECTblock_date AS day,sum(txs_user) AS txs,sum(txs_all) AS txs_all,max(txs_user) AS peak_tps,CASE WHEN block_date < current_dateTHEN 86400ELSE date_diff('second', min(ts), max(ts)) + 1END AS seconds_elapsedFROM per_secondGROUP BY 1),daily_gas AS (SELECT date AS day, sum(gas_used) AS gas_usedFROM robinhood.blocksGROUP BY 1)SELECTt.day,t.txs,sum(t.txs) OVER (ORDER BY t.day) AS cumulative_txs,cast(t.txs AS double) / t.seconds_elapsed AS avg_tps,t.peak_tps,cast(g.gas_used AS double) / t.seconds_elapsed / 1e6 AS mgas_s,t.txs_all AS txs_incl_system,sum(t.txs_all) OVER (ORDER BY t.day) AS cumulative_txs_incl_systemFROM daily_tx tLEFT JOIN daily_gas g ON g.day = t.dayORDER BY t.day