Elprognerd9 - avg daily fee
    SELECT
    block_timestamp:: date as date,
    'Arbitrum' as chain,
    avg(TX_FEE) as "Average fee per txn"
    FROM arbitrum.core.fact_transactions
    where block_timestamp >= '2023-01-01'
    GROUP by 1 , 2
    UNION all
    SELECT
    block_timestamp:: date as date,
    'Optimism' as chain,
    avg(TX_FEE) as "Average fee per txn"
    FROM optimism.core.fact_transactions
    where block_timestamp >= '2023-01-01'
    GROUP by 1, 2
    order by 1


    Run a query to Download Data