afonsoUntitled Query
    Updated 2023-01-21
    with
    t1 as (
    select
    tx_from,
    min(block_timestamp::date) as min_date
    from osmosis.core.fact_transactions
    group by tx_from
    ),

    t2 as (
    select
    min_date,
    count(*) as new_wallets_count
    from t1
    group by min_date
    )

    select
    min_date as day,
    new_wallets_count,
    sum(new_wallets_count) over (ORDER by min_date) as cumulative_new_wallets_count
    from t2
    where day > current_date - 90
    order by day asc
    Run a query to Download Data