StangFASTswap chart 4
Updated 2023-05-28
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 swap chart 3 @ https://flipsidecrypto.xyz/edit/queries/e6fabef8-7b0b-4cf1-98bb-1741dc172bf3
-- forked from swap chart @ https://flipsidecrypto.xyz/edit/queries/944de04f-779b-43a3-9346-15c364216706
-- forked from swap @ https://flipsidecrypto.xyz/edit/queries/f057f63f-f43b-4d5f-b6b3-95d2367ed3e5
-- forked from token price @ https://flipsidecrypto.xyz/edit/queries/bb4cc74d-cdec-462e-8d3f-ca9e79a8dc65
-- forked from 01 @ https://flipsidecrypto.xyz/edit/queries/37cc1b97-d637-4f8d-822e-ff4d3acd2948
with
euroc AS
(
SELECT
a.address AS address
, a.symbol AS symbol
, a.name AS name
, a.decimals AS decimals
FROM
avalanche.core.dim_contracts a
WHERE
a.symbol = 'EUROC'
)
,
euroc_price AS
(
SELECT
date_trunc( 'day' , a.hour ) AS day
, avg( a.price ) AS price_usd
, a.symbol AS symbol
FROM
ethereum.core.fact_hourly_token_prices a
WHERE
a.token_address = '0x1abaea1f7c830bd89acc67ec4af516284b1bc33c'
GROUP BY
Run a query to Download Data