Updated 2023-09-10


    select
    date_trunc(day,block_timestamp) as date,
    'SEI' as network,
    count(TX_ID) as tx_count,
    count(distinct TX_FROM) as user_count,
    tx_count/user_count as tx_per_user
    from sei.core.fact_transactions
    where block_timestamp::date >= '2023-08-15'







    group by 1

    union all

    select
    date_trunc(day,block_timestamp) as date,
    'Optimism' as network,
    count(tx_hash) as tx_count,
    count(distinct from_address) as user_count,
    tx_count/user_count as tx_per_user
    from Optimism.core.fact_transactions
    where block_timestamp::date >= '2023-08-15'

    group by 1

    union all

    select
    date_trunc(day,block_timestamp) as date,
    Run a query to Download Data