MLDZMNsales over time
Updated 2022-06-10
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
›
⌄
with tb1 as (select
distinct NFT_ADDRESS,
PROJECT_NAME,
sum(PRICE_USD) as total_sale,
count(distinct TX_HASH) as total_trade,
count(distinct BUYER_ADDRESS) as unique_buyers
from ethereum.core.ez_nft_sales
where PLATFORM_NAME='nftx'
--and EVENT_TYPE='sale'
and BLOCK_TIMESTAMP>=CURRENT_DATE-60
group by 1,2
order by 3 desc limit 3)
select
BLOCK_TIMESTAMP::date as day,
PROJECT_NAME,
sum(PRICE_USD) as total_sale,
count(distinct TX_HASH) as total_trade,
count(distinct BUYER_ADDRESS) as unique_buyers
from ethereum.core.ez_nft_sales
where PLATFORM_NAME='nftx'
and NFT_ADDRESS in (select NFT_ADDRESS from tb1)
and BLOCK_TIMESTAMP>=CURRENT_DATE-60
group by 1,2
order by 1
Run a query to Download Data