Query editor
WITH orbit_chains AS (SELECT*FROM query_5565925),sequencer_chains_flat AS (SELECTchain_name,parent_chain,address AS sequencerInbox_addressFROM orbit_chainsCROSS JOIN UNNEST(sequencerInbox_address) AS t(address)),sequencer_tx AS (SELECTsc.chain_name,sc.parent_chain,tx.to AS sequencer_address,tx.hash,tx.gas_used,tx.effective_gas_priceFROM arbitrum.transactions AS txJOIN sequencer_chains_flat AS scON tx.to = sc.sequencerInbox_address)SELECTst.chain_name,MAX(st.parent_chain) AS parent_chain,ARRAY_JOIN(ARRAY_DISTINCT(ARRAY_AGG(CONCAT('<a href="https://arbiscan.io/address/',LOWER(CAST(st.sequencer_address AS VARCHAR)),'" target="_blank">',LOWER(CAST(st.sequencer_address AS VARCHAR)),'</a>'))),', ') AS sequencer_address_links,ARRAY_JOIN(ARRAY_DISTINCT(ARRAY_AGG(LOWER(CAST(st.sequencer_address AS VARCHAR)))),', ') AS sequencer_addresses,COUNT(st.hash) AS transaction_count,SUM(TRY_CAST(CASEWHEN st.hash = FROM_HEX('5377dda09cf12248dfbb40133f39f50d59c5f3e07e1430aea7ba2c815054e72e')THEN 605127674ELSE st.gas_used