StangFASTpart 2 active days
Updated 2024-08-07
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
›
⌄
-- 0x1::aptos_coin::AptosCoin
-- min 2022-10-20 10:23:10.969
-- a.nft_address
-- a.project_name
-- a.tokenid
-- a.event_type
with
price as
(
select
date_trunc( 'day' , a.hour ) as date
, avg( a.price ) as price
, a.decimals as decimals
, a.symbol as symbol
, a.token_address as token_address
from
aptos.price.ez_prices_hourly a
where
a.token_address = '0x1::aptos_coin::AptosCoin'
group by 1 , 3 , 4 , 5
order by 1 desc
)
,
table_1 as
(
select
min( a.block_number ) as min_date
, a.buyer_address as buyer_address
from
aptos.nft.fact_nft_sales a
where
a.platform_name = 'BlueMove'
and date_trunc( 'month' , a.block_timestamp ) < date_trunc( 'month' , current_date )
group by 2
QueryRunArchived: QueryRun has been archived