superflyPurchases in these three blockchains
Updated 2022-07-18Copy 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
›
⌄
SELECT block_timestamp::date as date,
COUNT(DISTINCT(BUYER)) AS nft_buyers,
'flow' AS blockchain
FROM flow.core.fact_nft_sales
where block_timestamp::date between '2022-03-01' and '2022-07-18'
GROUP BY date
UNION
SELECT block_timestamp::date as date,
COUNT(DISTINCT(BUYER_ADDRESS)) AS nft_buyers,
'eth' AS blockchain
FROM ethereum.core.ez_nft_sales
where block_timestamp::date between '2022-03-01' and '2022-07-18'
GROUP BY date
UNION
SELECT block_timestamp::date as date,
COUNT(DISTINCT(PURCHASER)) AS nft_buyers,
'solana' AS blockchain
FROM solana.core.fact_nft_sales
where block_timestamp::date between '2022-03-01' and '2022-07-18'
GROUP BY date
Run a query to Download Data