hess12. Share of Activity
    Updated 9 days ago
    with new as (select min(block_timestamp::date) as date,
    (from_address) as users
    from monad.testnet.fact_transactions
    where tx_succeeded = 'TRUE'
    group by 2)
    ,
    final as (select DISTINCT users
    from new
    where date >= current_date - 40
    )

    select
    case when from_address in (select users from final) then 'New Addresses' else 'Active Addresses' end as type,
    count(DISTINCT from_address) as address,
    count(DISTINCT tx_hash) as txns
    from monad.testnet.fact_transactions
    where block_timestamp::date >= current_date - 30
    group by 1




    Last run: 9 days ago
    TYPE
    ADDRESS
    TXNS
    1
    Active Addresses2348409243250964
    2
    New Addresses160238202331878834
    2
    78B
    689s