afonsoUntitled Query
    Updated 2023-01-19
    with t as (
    select
    count(tx_from) as new_wallets_count_may_2022
    from (
    select
    min(block_timestamp)::date as min_date,
    signers[0] as tx_from
    from solana.core.fact_transactions
    group by 2
    )
    where min_date between '2022-06-01' and '2022-06-30'
    ),

    t2 as (
    select
    count(tx_from) as new_wallets_count_january_2023
    from (
    select
    min(block_timestamp)::date as min_date,
    signers[0] as tx_from
    from solana.core.fact_transactions
    group by 2
    )
    where min_date between '2022-12-19' and '2023-01-19'
    )

    select *,
    ((new_wallets_count_january_2023 - new_wallets_count_may_2022) / new_wallets_count_may_2022) * 100 as txn_percent_change
    from t join t2
    Run a query to Download Data