select
buyer_address,
--seller_address,
count (distinct tx_hash) as sales,
round(sum(PRICE),2) as tot_volume,
count (distinct tokenid) as tokens
from optimism.core.ez_nft_sales
where event_type = 'sale'
and price_usd > 0 and BLOCK_TIMESTAMP >= '2022-10-10'
group by 1 order by 3 desc