BlockTrackerActual Squid Data copy
Updated 2023-08-14
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
›
⌄
-- forked from SocioCrypto / Actual Squid Data @ https://flipsidecrypto.xyz/SocioCrypto/q/gJyQFMKukCYa/actual-squid-data
SELECT *
FROM (
SELECT
a.tx_hash,
a.source_chain as network_in,
a.destination_chain as network_out,
b.symbol_in,
b.symbol_out,
b.platform
--a.amount,
--c.gas_used
FROM axelar.core.ez_squid a
INNER JOIN arbitrum.core.ez_dex_swaps b using(a.tx_hash)
--LEFT JOIN arbitrum.core.fact_transactions c using(a.tx_hash)
WHERE source_chain = 'arbitrum'
AND block_timestamp::date between '2023-06-07' and '2023-08-07'
UNION
SELECT
a.tx_hash,
a.source_chain as network_in,
a.destination_chain as network_out,
b.symbol_in,
b.symbol_out,
b.platform
--a.amount,
--c.gas_used
FROM axelar.core.ez_squid a
INNER JOIN ethereum.core.ez_dex_swaps b using(a.tx_hash)
--LEFT JOIN ethereum.core.fact_transactions c using(a.tx_hash)
WHERE source_chain = 'ethereum'
AND block_timestamp::date between '2023-06-07' and '2023-08-07'
UNION
SELECT
a.tx_hash,
Run a query to Download Data