0xHaM-dOver Time Onboarding Users to Projects vs. Non-Projects copy
Updated 2025-03-22
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
›
⌄
-- forked from Over Time Onboarding Users to Projects vs. Non-Projects @ https://flipsidecrypto.xyz/studio/queries/47034b6e-0ff6-4d01-ba9a-87e3d13c9aaf
-- forked from Total Onboarding Users to Projects vs. Non-Projects @ https://flipsidecrypto.xyz/edit/queries/36269568-70be-4432-a7bb-cefc3a47b89b
with projectsTb as (
select
address,
project_name as project,
label_type
from
avalanche.core.dim_labels
where
project_name is not null
and label_type not in ('chadmin', 'cex', 'token')
and project_name != 'Exchanges'
),
avalanche_new_users as (
select
FROM_ADDRESS,
min(block_timestamp) as min_date
from
avalanche.core.fact_transactions
where
FROM_ADDRESS not in (
select
address
from
projectsTb
)
GROUP BY
1
),
all_avalanche_new_users as (
select
date_trunc('{{Time_Interval}}', min_date) as date,
count(distinct FROM_ADDRESS) as n_avalanche_users
from
QueryRunArchived: QueryRun has been archived