hessShare of Last 30 D
Updated 2023-11-16
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 woofi as ( select block_timestamp,
'Avalanche' as chain,
tx_hash,
origin_from_address,
pool_name,
symbol_in,
symbol_out,
case when amount_in_usd is null then amount_out_usd
when amount_out_usd is null then amount_in_usd
when amount_in_usd>=amount_out_usd then amount_in_usd
when amount_out_usd>amount_in_usd then amount_out_usd end as amount_usd
from avalanche.defi.ez_dex_swaps
where platform = 'woofi'
UNION
select block_timestamp,
'Arbitrum' as chain,
tx_hash,
origin_from_address,
pool_name,
symbol_in,
symbol_out,
case when amount_in_usd is null then amount_out_usd
when amount_out_usd is null then amount_in_usd
when amount_in_usd>=amount_out_usd then amount_in_usd
when amount_out_usd>amount_in_usd then amount_out_usd end as amount_usd
from arbitrum.defi.ez_dex_swaps
where platform = 'woofi'
UNION
select block_timestamp,
'BSC' as chain,
tx_hash,
origin_from_address,
pool_name,
symbol_in,
symbol_out,
case when amount_in_usd is null then amount_out_usd
Run a query to Download Data