MLDZMNdx4
Updated 2022-09-15
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
›
⌄
select
date_trunc('day', first_transaction_stamp) as day,
'Solana' as network,
count (distinct sender) as new_users,
sum(new_users) over (order by day) as cum_swappers
from (
select
distinct swapper as sender,
min(block_timestamp) as first_transaction_stamp
from solana.core.fact_swaps
where SUCCEEDED='TRUE'
and BLOCK_TIMESTAMP>= '2022-05-01'
group by 1
)
group by 1
union all
select
date_trunc('day', first_transaction_stamp) as day,
'Ethereum' as network,
count (distinct sender) as new_users,
sum(new_users) over (order by day) as cum_swappers
from (
select
distinct ORIGIN_FROM_ADDRESS as sender,
min(block_timestamp) as first_transaction_stamp
from ethereum.core.ez_dex_swaps
where BLOCK_TIMESTAMP>= '2022-05-01'
group by 1
)
group by 1
Run a query to Download Data