potmoETH NFT Sales distribution in ETH since 12-18-2021
Updated 2022-10-16
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
35
36
›
⌄
with base as (
select
price_category,
count(*) as total
from
(
select
case
when price <= 0.01 then 'Trinket'
when price > 0.01 and price <= 0.1 then 'Souvenir'
when price > 0.1 and price <= 1 then 'Keepsake'
when price > 1 then 'Heirloom'
else 'null'
end as price_category
from
ethereum.core.ez_nft_sales
where
1 = 1
and event_type = 'sale'
and block_timestamp::date > '2021-12-18'
)
group by 1
order by 1 desc
)
select price_category, total,
round(100 * total / (select sum(total) from base), 1) as percent
from base
where price_category <> 'null'
--select min(block_timestamp) from optimism.core.ez_nft_sales 2021-12-18 19:53:53.000
Run a query to Download Data