MoDeFinear q reprot - txs and aus in chains
    Updated 2024-10-04
    select 'Aptos' as "Chain", 'Other' as "Tag",
    count(*) as "Transactions",
    count(distinct sender) as "AUs"
    from aptos.core.fact_transactions
    where SUCCESS=true
    and BLOCK_TIMESTAMP::date>='2024-07-01' and BLOCK_TIMESTAMP<'2024-10-01'
    group by 1
    union all
    select 'Arbitrum' as "Chain", 'Other' as "Tag",
    count(*) as "Transactions",
    count(distinct FROM_ADDRESS) as "AUs"
    from arbitrum.core.fact_transactions
    where STATUS='SUCCESS'
    and BLOCK_TIMESTAMP::date>='2024-07-01' and BLOCK_TIMESTAMP<'2024-10-01'
    group by 1

    union all
    select 'Optimism' as "Chain", 'Other' as "Tag",
    count(*) as "Transactions",
    count(distinct FROM_ADDRESS) as "AUs"
    from optimism.core.fact_transactions
    where STATUS='SUCCESS'
    and BLOCK_TIMESTAMP::date>='2024-07-01' and BLOCK_TIMESTAMP<'2024-10-01'
    group by 1

    union all
    select 'Avalanche' as "Chain", 'Other' as "Tag",
    count(*) as "Transactions",
    count(distinct FROM_ADDRESS) as "AUs"
    from avalanche.core.fact_transactions
    where STATUS='SUCCESS'
    and BLOCK_TIMESTAMP::date>='2024-07-01' and BLOCK_TIMESTAMP<'2024-10-01'
    group by 1

    union all
    select 'Polygon' as "Chain", 'Other' as "Tag",
    QueryRunArchived: QueryRun has been archived