adriaparcerisasavalanche euro 2.2
Updated 2025-03-25
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
›
⌄
select trunc(block_timestamp,'week') as date,
symbol_in,
count(distinct tx_hash) as txs,
sum(txs) over (partition by symbol_in order by date) as cum_txs,
count(distinct origin_from_address) as users,
sum(amount_out) as volume,
avg(amount_out) as avg_volume,
avg(avg_volume) over (partition by symbol_in order by date ROWS BETWEEN 6 PRECEDING AND CURRENT ROW ) as avg_volume_ma_7hour,
sum(volume) over (partition by symbol_in order by date) as cum_volume
from avalanche.defi.ez_dex_swaps
where token_out = lower('0xC891EB4cbdEFf6e073e859e987815Ed1505c2ACD')
and block_timestamp >= '2023-05-25' and block_timestamp<trunc(current_date,'week')
group by 1,2 order by 1 asc
QueryRunArchived: QueryRun has been archived