mmdrezaNumber of Average unique NFT buyers per day
    Updated 2022-09-17
    with flow as (select date_trunc('day',block_timestamp)as date,count(distinct buyer)as flow_nbuyers,
    'flow' as chain
    from flow.core.ez_nft_sales
    where
    block_timestamp >= '2022-01-01'
    group by date
    order by date asc),
    ethereum as (select date_trunc('day',block_timestamp)as date,count(distinct BUYER_ADDRESS)as eth_nbuyers,
    'ethereum' as chain
    from ethereum.core.ez_nft_sales
    where
    block_timestamp >= '2022-01-01'
    group by date
    order by date asc),
    solana as (select date_trunc('day',block_timestamp)as date,count(distinct PURCHASER)as sol_nbuyers,
    'solana' as chain
    from solana.core.fact_nft_sales
    where
    block_timestamp >= '2022-01-01'
    group by date
    order by date asc),
    avg as (select * from flow,solana,ethereum)
    select avg(flow_nbuyers) avg_flow,'flow' as chain from avg
    union
    select avg(sol_nbuyers)as avg_sol,'sol'as chain from avg
    union
    select avg(eth_nbuyers) as avg_eth,'ethereum' as chain from avg
    Run a query to Download Data