LittlerDataL2 users over time
Updated 2022-10-20Copy Reference Fork
999
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 op_arrive as(
select
min(block_timestamp) as arriving_day
,from_address
from optimism.core.fact_transactions
group by 2
),
cum_optimism as (
select
date_trunc('day',arriving_day) as arrival
,count(from_address) as new_users
from op_arrive
group by 1
),
optimism as (
select
arrival
,new_users
,sum(new_users) over (order by arrival asc rows between unbounded preceding and current row) as users_overtime
,'Optimism' as Blockchain
from cum_optimism
),
pol_arrive as (
select
min(block_timestamp) as arriving_day
,from_address
from polygon.core.fact_transactions
group by 2
),
cum_polygon as (
select
date_trunc('day',arriving_day) as arrival
Run a query to Download Data