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

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

    select
    sum(new_wallets_count) as new_wallets_count
    from t2
    where year(min_date) = 2022
    Run a query to Download Data