fantasyOptimism Monthly Active Users in %
Updated 2025-02-19
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 user_growth AS (
SELECT
DATE_TRUNC('month', block_timestamp) AS month,
COUNT(DISTINCT from_address) AS monthly_active_users
FROM
optimism.core.fact_transactions
GROUP BY
1
),
growth_calc AS (
SELECT
month,
monthly_active_users,
LAG(monthly_active_users) OVER (
ORDER BY
month
) AS prev_users,
ROUND (
(
monthly_active_users - LAG(monthly_active_users) OVER (
ORDER BY
month
)
) / NULLIF(
LAG(monthly_active_users) OVER (
ORDER BY
month
),
0
) * 100,
2
) AS percent_change,
FROM
user_growth
)
SELECT
QueryRunArchived: QueryRun has been archived