fantasySolana Activation Pattern
Updated 2025-04-23
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_tx AS (
SELECT
signer,
first_tx_date,
last_tx_date,
num_txs,
DATEDIFF(day, first_tx_date, last_tx_date) AS active_days
FROM
solana.core.ez_signers
),
activated_users AS (
SELECT
signer,
first_tx_date,
last_tx_date,
num_txs,
active_days
FROM
user_tx
WHERE
num_txs >= 2 -- At least 2 transactions
AND active_days <= 7 -- Within 7 days of activity
),
monthly_activity AS (
SELECT
DATE_TRUNC('month', first_tx_date) AS cohort_month,
COUNT(DISTINCT signer) AS monthly_new_users,
COUNT(
DISTINCT CASE
WHEN num_txs >= 2
AND active_days <= 7 THEN signer
END
) AS activated_users
FROM
user_tx
GROUP BY
QueryRunArchived: QueryRun has been archived