shawnedwards2023-04-20 08:81 PM
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 token_Prices AS
(
SELECT
HOUR::date as PRICE_TIME,
SYMBOL,
AVG(PRICE) as usd_price
FROM
ethereum.core.fact_hourly_token_prices
GROUP BY 1, 2
UNION ALL
SELECT
RECORDED_AT::date as PRICE_TIME,
SYMBOL,
AVG(PRICE) as usd_price
FROM
osmosis.core.dim_prices
GROUP BY 1, 2
),
bridge_transactions AS
(
SELECT
'Squid' as BRIDGE, AMOUNT, BLOCK_TIMESTAMP, SENDER, SOURCE_CHAIN, DESTINATION_CHAIN,
TOKEN_SYMBOL, TX_HASH
FROM
axelar.core.ez_squid
UNION ALL
SELECT
'Satellite' as BRIDGE, AMOUNT, BLOCK_TIMESTAMP, SENDER, SOURCE_CHAIN, DESTINATION_CHAIN,
TOKEN_SYMBOL, TX_HASH
FROM
axelar.core.ez_satellite
Run a query to Download Data