StangFAST10 ch
Updated 2023-05-27
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
›
⌄
-- forked from 10 @ https://flipsidecrypto.xyz/edit/queries/78ae4422-bab9-40c2-9952-20f4f458c955
-- forked from 04 @ https://flipsidecrypto.xyz/edit/queries/f431b852-e4e4-4cf8-85ce-fd78606f618c
-- forked from 03 @ https://flipsidecrypto.xyz/edit/queries/53b58cc2-8541-4173-9793-0997bc597215
-- forked from 02 @ https://flipsidecrypto.xyz/edit/queries/476d368e-4f5a-4b8c-bf32-996e2bcd6761
-- forked from 01 @ https://flipsidecrypto.xyz/edit/queries/9ca44268-9d38-4372-86b0-d145ddd26dd3
with
ava_price AS
(
SELECT
date_trunc( 'day' , a.hour ) AS day
, avg( a.price ) AS price_usd
FROM
avalanche.core.fact_hourly_token_prices a
WHERE
a.symbol = 'WAVAX'
GROUP BY
1
ORDER BY
1 DESC
)
,
min AS
(
SELECT
min( a.block_timestamp ) AS min_date
, a.from_address AS min_users
FROM
avalanche.core.fact_transactions a
JOIN
avalanche.core.dim_labels b
Run a query to Download Data