adriaparcerisassushi stable dominance
Updated 2023-03-16
999
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
›
⌄
with
ins as (
SELECT
trunc(block_timestamp,'month') as date,
'Arbitrum' as blockchain,
symbol_in as stablecoin,
count(distinct tx_hash) as swaps,
count(distinct origin_from_address) as swappers,
sum(amount_in_usd) as volume_swapped_usd,
avg(amount_in_usd) as avg_volume_swapped_usd
from arbitrum.sushi.ez_swaps
where symbol_in in ('AMUSDC','BUSD','DAI','PUSD','TUSD','USDC','USDT','UST','alUSD','cDAI','sUSD','sUSD','USDD','USDN')
group by 1,2,3
union all
SELECT
trunc(block_timestamp,'month') as date,
'Avalanche' as blockchain,
symbol_in as stablecoin,
count(distinct tx_hash) as swaps,
count(distinct origin_from_address) as swappers,
sum(amount_in_usd) as volume_swapped_usd,
avg(amount_in_usd) as avg_volume_swapped_usd
from avalanche.sushi.ez_swaps
where symbol_in in ('AMUSDC','BUSD','DAI','PUSD','TUSD','USDC','USDT','UST','alUSD','cDAI','sUSD','sUSD','USDD','USDN')
group by 1,2,3
union all
SELECT
trunc(block_timestamp,'month') as date,
'BSC' as blockchain,
symbol_in as stablecoin,
count(distinct tx_hash) as swaps,
count(distinct origin_from_address) as swappers,
sum(amount_in_usd) as volume_swapped_usd,
avg(amount_in_usd) as avg_volume_swapped_usd
from bsc.sushi.ez_swaps
where symbol_in in ('AMUSDC','BUSD','DAI','PUSD','TUSD','USDC','USDT','UST','alUSD','cDAI','sUSD','sUSD','USDD','USDN')
Run a query to Download Data