0xHaM-dklayswap in Total
Updated 2025-02-23
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
›
⌄
with swapEvent as (
select
block_timestamp,
platform,
tx_hash,
ORIGIN_FROM_ADDRESS as swapper,
symbol_in,
symbol_out,
amount_in_usd,
amount_out_usd,
nvl(amount_in_usd, amount_out_usd) as amount_usd
from kaia.defi.ez_dex_swaps
WHERE platform ilike 'klayswap%'
)
SELECT
count(DISTINCT tx_hash) as n_swaps,
count(DISTINCT swapper) as unique_swapper,
sum(amount_usd) as volume,
volume/n_swaps as avg_vol_per_swap,
volume/unique_swapper as avg_vol_per_swappper,
FROM swapEvent
QueryRunArchived: QueryRun has been archived