esi69sushi j 1
Updated 2023-03-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
35
36
›
⌄
select date_trunc(month,block_timestamp) as date,
'Arbitrum' as blockchain,
symbol_out as stablecoin,
count(distinct tx_hash) as swaps,
count(distinct origin_from_address) as swappers,
sum(amount_out_usd) as volume_out
from arbitrum.sushi.ez_swaps
where symbol_out in ('MIM','FRAX','AMUSDC','BUSD','DAI','PUSD','TUSD','USDC','USDT','UST','alUSD','cDAI','sUSD','sUSD','USDD','USDN')
group by 1,2,3
union all
select date_trunc(month,block_timestamp) as date,
'Avalanche' as blockchain,
symbol_out as stablecoin,
count(distinct tx_hash) as swaps,
count(distinct origin_from_address) as swappers,
sum(amount_out_usd) as volume_out
from avalanche.sushi.ez_swaps
where symbol_out in ('MIM','FRAX','AMUSDC','BUSD','DAI','PUSD','TUSD','USDC','USDT','UST','alUSD','cDAI','sUSD','sUSD','USDD','USDN')
group by 1,2,3
union all
select date_trunc(month,block_timestamp) as date,
'BSC' as blockchain,
symbol_out as stablecoin,
count(distinct tx_hash) as swaps,
count(distinct origin_from_address) as swappers,
sum(amount_out_usd) as volume_out
from bsc.sushi.ez_swaps
where symbol_out in ('MIM','FRAX','AMUSDC','BUSD','DAI','PUSD','TUSD','USDC','USDT','UST','alUSD','cDAI','sUSD','sUSD','USDD','USDN')
group by 1,2,3
union all
select date_trunc(month,block_timestamp) as date,
'Ethereum' as blockchain,
symbol_out as stablecoin,
count(distinct tx_hash) as swaps,
count(distinct origin_from_address) as swappers,
sum(amount_out_usd) as volume_out
Run a query to Download Data