bachiraceday3
    Updated 2022-10-23
    select
    date(date_trunc('month', block_timestamp)) as month,
    count(distinct nft_id) as no_of_nfts_sold,
    round(sum(price),2) as total_sale_volume,
    round(avg(price),2) as avg_sale_volume,
    count(distinct tx_id) as no_of_sales,
    count(distinct buyer) as no_of_buyers,
    count(distinct seller) as no_of_sellers
    from flow.core.ez_nft_sales
    where nft_collection like '%A.329feb3ab062d289.RaceDay_NFT%'
    and tx_succeeded = true
    group by month
    order by month desc
    Run a query to Download Data