PLATFORM_NAME | SWAP_TYPE | SWAPS | SWAPPERS | VOLUME_USD | AVERAGE_AMOUNT_USD | |
---|---|---|---|---|---|---|
1 | pangolin | Buy | 375 | 95 | 110 | 0.2933333333 |
2 | pangolin | Sell | 454 | 105 | 139.06 | 0.3062995595 |
3 | pharaoh | Buy | 11265 | 2231 | 5122103.29 | 438.423631773 |
4 | pharaoh | Sell | 12684 | 1966 | 5027637.47 | 385.910152748 |
5 | trader-joe | Buy | 68497 | 19205 | 51289039.74 | 694.644 |
6 | trader-joe | Sell | 65840 | 17686 | 53332020.9 | 745.558286385 |
7 | uniswap | Buy | 7 | 7 | 129.98 | 18.568571429 |
8 | uniswap | Sell | 5 | 3 | 97.99 | 19.598 |
Afonso_DiazBy Platform & Type
Updated 2025-05-18
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
›
⌄
with
main as (
select
tx_hash,
block_timestamp,
coalesce(amount_in_usd, amount_out_usd) as amount_usd,
origin_from_address as swapper,
symbol_in,
symbol_out,
token_in,
token_out,
replace(replace(replace(platform, '-v1', ''), '-v2', ''), '-v3', '') as platform_name,
symbol_in || ' -> ' || symbol_out as token_pair,
iff(symbol_in = 'BLUB', 'Sell', 'Buy') as swap_type
from
avalanche.defi.ez_dex_swaps
where
'0x0f669808d88b2b0b3d23214dcd2a1cc6a8b1b5cd' in (token_in, token_out)
)
select
platform_name,
swap_type,
count(distinct tx_hash) as swaps,
count(distinct swapper) as swappers,
sum(amount_usd) as volume_usd,
avg(amount_usd) as average_amount_usd
from
main
group by 1, 2
order by 1, 2
Last run: 27 days ago
8
391B
2s