Abolfazl_771025monthly swap
Updated 2022-09-26
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
›
⌄
with stETH_sell as (select
block_timestamp::date as date,
sum(amount_in) as "steth sell volume"
from ethereum.core.ez_dex_swaps
where symbol_in like '%stETH%'
and amount_in_usd>0
and date >= '2022-01-01'
group by 1),stETH_buy as (select
block_timestamp::date as date,
sum(amount_out) as "steth buy volume"
from ethereum.core.ez_dex_swaps
where symbol_out like '%stETH%'
and amount_out_usd>0
and date >= '2022-01-01'
group by 1) , rETH_sell as (select
block_timestamp::date as date,
sum(amount_in) as "reth sell volume"
from ethereum.core.ez_dex_swaps
where symbol_in like '%rETH%'
and amount_in_usd>0
and date >= '2022-01-01'
group by 1),rETH_buy as (select
block_timestamp::date as date,
sum(amount_out) as "reth buy volume"
from ethereum.core.ez_dex_swaps
where symbol_out like '%rETH%'
and amount_out_usd>0
and date >= '2022-01-01'
group by 1) , aETH_sell as (select
block_timestamp::date as date,
sum(amount_in) as "aeth sell volume"
from ethereum.core.ez_dex_swaps
where symbol_in like '%aETH%'
and amount_in_usd>0
and date >= '2022-01-01'
group by 1),aETH_buy as (select
Run a query to Download Data