0-MIDtotal sell by sellers
Updated 2023-04-07
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
›
⌄
with tab1 as (
select ORIGIN_FROM_ADDRESS
,sum(AMOUNT_IN_USD) as sell_volume
,rank()over(order by sell_volume ) as rank
from ethereum.core.ez_dex_swaps
where BLOCK_TIMESTAMP>='2023-03-01' and BLOCK_TIMESTAMP<='2023-03-10'
and TOKEN_IN='0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce'
and PLATFORM in ('uniswap-v2','uniswap-v3')
and AMOUNT_IN_USD is not null
group by 1
order by 2 desc
limit 20),
tab2 as (
select ORIGIN_FROM_ADDRESS
,sum(AMOUNT_IN_USD) as sell_volume
,rank()over(order by sell_volume ) as rank
from ethereum.core.ez_dex_swaps
where BLOCK_TIMESTAMP>='2023-03-10' and BLOCK_TIMESTAMP<='2023-03-20'
and TOKEN_IN='0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce'
and PLATFORM in ('uniswap-v2','uniswap-v3')
and AMOUNT_IN_USD is not null
group by 1
order by 2 desc
limit 20)
select 'Ten Days Before Launche' as t_period
,sum(sell_volume) as total_sell_volume
from tab1
group by 1
union all
select 'Ten Days After Launche' as t_period
,sum(sell_volume) as total_sell_volume
from tab2
group by 1
Run a query to Download Data