boomer772023-05-10 01:45 AM
    Updated 2023-08-30
    with raw as (select *,
    case when project_name is null then nft_address else project_name end as projz
    from ethereum.core.ez_nft_sales
    where date(block_timestamp) >= current_date - 31
    and price_usd > 0)

    select projz as NFT_collection, count(distinct tx_hash) as sales_tx
    from raw
    group by 1
    order by 2 desc
    limit 20
    Run a query to Download Data