boomer77smart money sales august
    Updated 2021-09-08
    select
    date_trunc('day', block_timestamp) as block_day,
    sum(price_usd) as Volume,
    case when event_from in ('0xff4c60814adc5ee4cdf9a57e0944b1e4678ff09c','0x0f0eae91990140c560d4156db4f00c854dc8f09e','0x38ca81849baf9b22301af89d203e095536d3066e','0xe1d29d0a39962a9a8d2a297ebe82e166f8b8ec18','0x8f01ce31da22ee7182200428b36b5dec5bfdaebd') then 'Whales'
    else 'Retails' end as Buyers
    from ethereum.nft_events
    where contract_address = '0xa7d8d9ef8d8ce8992df33d8b8cf4aebabd5bd270' and event_type = 'sale' and block_timestamp between '2021-07-31' and '2021-08-31' and price_usd is not null
    and token_id in (select distinct token_id
    from ethereum.nft_metadata
    where contract_address = '0xa7d8d9ef8d8ce8992df33d8b8cf4aebabd5bd270'
    and lower(token_name) LIKE '%fidenza%')
    group by 1,3
    order by 2 desc
    Run a query to Download Data