mz0111EVM 4
Updated 2023-02-04Copy Reference Fork
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
›
⌄
(select
date_trunc('day', min_date) as date,
'OPTIMISM' as chain,
count(*) as New_users,
sum(New_users) over (order by date) as Cum_new_user
from (
select
from_address,
min(block_timestamp) as min_date
from optimism.core.fact_transactions
group by 1
)
where date > current_date - 90
group by 1
order by 1)
union all
(select
date_trunc('day', min_date) as date,
'ARBITRUM' as chain,
count(*) as New_users,
sum(New_users) over (order by date) as Cum_new_user
from (
select
from_address,
min(block_timestamp) as min_date
from arbitrum.core.fact_transactions
group by 1
)
where date > current_date - 90
group by 1
order by 1)
Run a query to Download Data