Query editor
WITH l2_txns AS (SELECT'Base' AS chain,COUNT(*) AS tx_countFROM base.transactions WHERE success = trueUNION ALLSELECT'Optimism',COUNT(*)FROM optimism.transactions WHERE success = trueUNION ALLSELECT'Starknet',COUNT(*)FROM starknet.transactionsUNION ALLSELECT'Mantle',COUNT(*)FROM mantle.transactions WHERE success = trueUNION ALLSELECT'Linea',COUNT(*)FROM linea.transactions WHERE success = trueUNION ALLSELECT'zkSync Era',COUNT(*)FROM zksync.transactions WHERE success = trueUNION ALLSELECT'Abstract',COUNT(*)FROM abstract.transactions WHERE success = trueUNION ALLSELECT'Zora',COUNT(*)FROM zora.transactions WHERE success = trueUNION ALLSELECT'Scroll',COUNT(*)FROM scroll.transactions WHERE success = trueUNION ALLSELECT'Arbitrum',COUNT(*)FROM arbitrum.transactions WHERE success = true)SELECTchain,SUM(tx_count) AS tx_countFROM l2_txnsGROUP BYchainORDER BYtx_count DESC