ArioNFT Sales over last month compared to last 90, 180, 365, all.
Updated 2023-11-06
999
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
last_Month as (
select
avg("Sales Volume ($)") as "Avg Sales Volume ($)-30d",
avg("# Sales") as "Avg # Sales-30d"
from
(
select
date_trunc(day, BLOCK_TIMESTAMP) as date,
sum(PRICE_USD) as "Sales Volume ($)",
count(DISTINCT TX_HASH) as "# Sales"
from
ethereum.core.ez_nft_sales
where
1 = 1
and PRICE_USD is not NULL
and PRICE_USD > 0
and PLATFORM_NAME is not NULL
and event_type in ('sale', 'bid_won')
and BLOCK_TIMESTAMP::date >= current_date - 30
group by
1
)
),
last_ThreeMonths as (
select
avg("Sales Volume ($)") as "Avg Sales Volume ($)-90d",
avg("# Sales") as "Avg # Sales-90d"
from
(
select
date_trunc(day, BLOCK_TIMESTAMP) as date,
sum(PRICE_USD) as "Sales Volume ($)",
count(DISTINCT TX_HASH) as "# Sales"
from
ethereum.core.ez_nft_sales
Run a query to Download Data