2844Number of Daily Transaction in each DEX
Updated 2022-04-06
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
›
⌄
with DEX as
(select date_trunc('day', block_timestamp::date) as dates, tx_id ,platform
from ethereum.dex_swaps
where block_timestamp >= '2022-01-01'
and direction = 'IN'
and amount_in > '0'
),
event as
(select date_trunc('day', block_timestamp::date) as date, tx_id as daily, origin_address as N_Wallet
from ethereum.udm_events
where block_timestamp >= '2022-01-01'
)
select Dex.dates, Dex.platform , count(distinct (event.N_Wallet )) as N_Wallets,count(distinct tx_id) as Daily_Transactions
from dex
join event on dex.tx_id=event.daily
where platform != 'curve'
group by dates , platform
order by dates
Run a query to Download Data