farid-c9j0VMTX per block
    Updated 2023-01-18
    select 'Arbitrum'as type,
    min(TX_COUNT) as minimum_txn,
    avg(TX_COUNT) as average_txn,
    max(TX_COUNT) as maximum_txn,
    count(BLOCK_NUMBER) as total_blocks
    from Arbitrum.core.fact_blocks
    where BLOCK_TIMESTAMP >= CURRENT_DATE - 180 and BLOCK_TIMESTAMP<=CURRENT_DATE-1
    union all

    select 'Optimism'as type,
    min(TX_COUNT) as minimum_txn,
    avg(TX_COUNT) as average_txn,
    max(TX_COUNT) as maximum_txn,
    count(BLOCK_NUMBER) as total_blocks
    from optimism.core.fact_blocks
    where BLOCK_TIMESTAMP >= CURRENT_DATE - 180 and BLOCK_TIMESTAMP<=CURRENT_DATE-1

    union all

    select 'Ethereum'as type,
    min(TX_COUNT) as minimum_txn,
    avg(TX_COUNT) as average_txn,
    max(TX_COUNT) as maximum_txn,
    count(BLOCK_NUMBER) as total_blocks
    from ethereum.core.fact_blocks
    where BLOCK_TIMESTAMP >= CURRENT_DATE - 30 and BLOCK_TIMESTAMP<=CURRENT_DATE-1

    Run a query to Download Data