Sbhn_NPmonthly nft
Updated 2022-12-20Copy Reference Fork
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
26
27
28
29
30
31
32
33
34
›
⌄
--credit : Ali3N
select 'FLOW' as blockchain,
date_trunc(month,block_timestamp) as date,
count (distinct buyer) as Users_Count
from flow.core.ez_nft_sales
where block_timestamp >= '2022-01-01'
group by 1,2
union ALL
select 'Ethereum' as blockchain,
date_trunc(month,block_timestamp) as date,
count (distinct buyer_address) as Users_Count
from ethereum.core.ez_nft_sales
where block_timestamp >= '2022-01-01'
group by 1,2
union ALL
select 'Solana' as blockchain,
date_trunc(month,block_timestamp) as date,
count (distinct purchaser) as Users_Count
from solana.core.fact_nft_sales
where block_timestamp >= '2022-01-01'
group by 1,2
UNION ALL
select 'Algorand' as blockchain,
date_trunc(month,block_timestamp) as date,
count (DISTINCT purchaser) as users_count
from algorand.nft.ez_nft_sales
where block_timestamp >= '2022-01-01'
group by 1,2
Run a query to Download Data