0xaiman2023-04-12 12:43 AM
Updated 2023-04-11
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
›
⌄
select source_chain, project_name, sum(amount) as vol
from ((select
x.*,
project_name
from
(
SELECT
source_chain,
es.tx_hash,
es.token_symbol,
es.amount,
arb.to_address,
origin_from_address
from
axelar.core.ez_squid es
join arbitrum.core.fact_token_transfers arb on arb.tx_hash = es.tx_hash
where source_chain='arbitrum'
) x
join arbitrum.core.dim_labels arb2 on arb2.address = x.to_address
where
label_type = 'dex')
Union (select
x2.*,
project_name
from
(SELECT
source_chain,
es.tx_hash,
es.token_symbol,
es.amount,
avx.to_address,
Run a query to Download Data