superflyMedian users count that has transferred in 2022 and Average users count that has transferred in 2022 and Maximum users count that has transferred in 2022 and Minimum users count that has transferred in 2022
    Updated 2023-01-11
    with final_data as (
    select min(tx_users_count) as min_transferers_count,
    max(tx_users_count) as max_transferers_count,
    avg(tx_users_count) as avg_transferers_count,
    median(tx_users_count) as med_transferers_count
    from (
    select to_date(block_timestamp) as date,
    count(distinct tx_hash) as tx_hash_count,
    count(distinct tx_signer) as tx_users_count,
    sum(deposit/1e18) as volume_transfer
    from near.core.fact_transfers
    group by date) where date>= '2022-01-01'
    and date <= '2022-12-31'
    )
    select * from final_data
    Run a query to Download Data