select
BLOCK_TIMESTAMP::date as date,
count(DISTINCT tx_id) as tx_count,
count(distinct BUYER) as buyers,
count(DISTINCT seller) as sellers
from flow.core.fact_nft_sales
where TX_SUCCEEDED = true
and MARKETPLACE in ('A.c1e4f4f4c4257510.TopShotMarketV3')
group by 1
order by 1