hessTop Platforms
Updated 2023-07-26
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
›
⌄
with volume as ( select trunc(block_timestamp,'month') as date, tx_hash, origin_from_address, case when amount_in_usd is null then amount_out_usd else amount_in_usd end as volume,
platform, concat(symbol_in,'/',symbol_out) as pair, pool_name
from avalanche.core.ez_dex_swaps
where (AMOUNT_IN_USD between AMOUNT_OUT_USD - 1000 and AMOUNT_OUT_USD + 1000) )
select platform, count(DISTINCT(origin_from_address)) as swappers, count(DISTINCT(tx_hash)) as swaps, sum(volume) as volume_usd, avg(volume) as avg_volume,
median(volume) as median_volume, max(volume) as max_volume, min(volume) as min_volume
from volume
where date >= '2021-04-01'
group by 1
order by 2 desc
Run a query to Download Data