MLDZMNOPvs5
Updated 2022-10-05
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
›
⌄
SELECT
SYMBOL_IN,
count(distinct tx_hash) as swap_no,
count(distinct ORIGIN_FROM_ADDRESS) as swappers,
sum(AMOUNT_IN_USD) as volume,
volume/swap_no as average_volume
FROM optimism.velodrome.ez_swaps where SYMBOL_OUT='OP'
group by 1 having volume is not null
union all
SELECT
SYMBOL_IN,
count(distinct tx_hash) as swap_no,
count(distinct ORIGIN_FROM_ADDRESS) as swappers,
sum(AMOUNT_IN_USD) as volume,
volume/swap_no as average_volume
FROM optimism.sushi.ez_swaps where SYMBOL_OUT='OP'
group by 1 having volume is not null
order by 4 desc limit 10
Run a query to Download Data