shreex2023-01-20 11:29 PM
Updated 2023-01-20
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
tb1 as (
select
date,
'Optimism + Arbitrum Chain' as chain,
new_user,
cumulative_new_user
from
(
select
min_date::date as date,
count(distinct address) as new_user,
sum(new_user) over (
order by
date
) as cumulative_new_user
from
(
select
from_address as address,
min(block_timestamp) as min_date
from
arbitrum.core.fact_transactions
GROUP BY
address
)
group by
date
)
WHERE
date >= '2022-01-01'
UNION
select
date,
'Optimism + Arbitrum Chain' as chain,
new_user,
Run a query to Download Data