freemartianWeekly Average Transactions Per Block
    Updated 2022-12-06
    select date_trunc('week', block_timestamp::date) as TIME, avg(tx_count) as Average_transaction_count, 'Polygon' as Label
    from polygon.core.fact_blocks
    where block_timestamp >= CURRENT_DATE - 200
    group by TIME
    UNION
    select date_trunc('week', block_timestamp::date) as TIME, avg(tx_count) as Average_transaction_count, 'Optimism' as label
    from optimism.core.fact_blocks
    where block_timestamp >= CURRENT_DATE - 200
    group by TIME
    UNION
    select date_trunc('week', block_timestamp::date) as TIME, avg(tx_count) as Average_transaction_count, 'Arbitrum' as label
    from arbitrum.core.fact_blocks
    where block_timestamp >= CURRENT_DATE - 200
    group by TIME
    UNION
    select date_trunc('week', block_timestamp::date) as TIME, avg(tx_count) as Average_transaction_count, 'Flow' as label
    from flow.core.fact_blocks
    where block_timestamp >= CURRENT_DATE - 200
    group by TIME
    UNION
    select date_trunc('week', block_timestamp::date) as TIME, avg(tx_count) as Average_transaction_count, 'BSC' as label
    from bsc.core.fact_blocks
    where block_timestamp >= CURRENT_DATE - 200
    group by TIME
    UNION
    select date_trunc('week', block_timestamp::date) as TIME, avg(tx_count) as Average_transaction_count, 'Avalanche' as label
    from avalanche.core.fact_blocks
    where block_timestamp >= CURRENT_DATE - 200
    group by TIME
    UNION
    select date_trunc('week', block_timestamp::date) as TIME, avg(tx_count) as Average_transaction_count, 'Ethereum' as label
    from ethereum.core.fact_blocks
    where block_timestamp >= CURRENT_DATE - 200
    group by TIME
    UNION
    select date_trunc('week', block_timestamp::date) as TIME, avg(tx_count) as Average_transaction_count, 'Terra 2' as Label
    Run a query to Download Data