adriaparcerisasnear new users NFT activity
    Updated 2024-12-23

    WITH
    news as (
    SELECT
    distinct buyer_address as users,
    platform_name,
    min(trunc(block_timestamp,'day')) as debut
    from near.nft.ez_nft_sales
    group by 1,2
    )
    select
    trunc(debut,'day') as date,
    platform_name,
    count(distinct users) as n_users,
    sum(n_users) over (partition by platform_name order by date) as total_n_users
    from news x
    --join near.core.dim_address_labels y on x.tx_receiver=y.address
    where date>=current_date-interval '1 MONTH' and date<current_date --and label_type='nft'
    group by 1,2
    order by 1 desc








    QueryRunArchived: QueryRun has been archived