mlharb, trx per block1
    Updated 2022-09-08
    select avg(trxs) as "Transaction per Block",
    'Average TX per Block' as "Min, Avg and Max",
    'before Nitro' as type
    from (select block_number,
    count(distinct(tx_hash)) as trxs
    from arbitrum.core.fact_transactions
    where block_timestamp >= '2022-08-26'
    and block_timestamp < '2022-08-31'
    group by 1
    )
    group by 3
    union
    select max(trxs),
    'Max TX per Block',
    'before Nitro' as type
    from (select block_number,
    count(distinct(tx_hash)) as trxs
    from arbitrum.core.fact_transactions
    where block_timestamp >= '2022-08-26'
    and block_timestamp < '2022-08-31'
    group by 1
    )
    group by 3
    union
    select min(trxs),
    'Min TX per Block',
    'before Nitro' as type
    from (select block_number,
    count(distinct(tx_hash)) as trxs
    from arbitrum.core.fact_transactions
    where block_timestamp >= '2022-08-26'
    and block_timestamp < '2022-08-31'
    group by 1
    Run a query to Download Data