select
date_trunc('month', block_timestamp) dt,
event_type,
count(ez_nft_sales_id) as nfts
from
ethereum.nft.ez_nft_sales
where 1=1
and nft_address = lower('0xDE76aD8998310dd4C6cA9fdb03a5F20bbf01Ce96')
-- and dt >= current_date - interval '3 months'
group by
dt,
event_type