SocioCryptoNew User Projects
Updated 2023-08-28Copy Reference Fork
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
›
⌄
SELECT
date_trunc('week', first_tx) as date,
project,
count(DISTINCT tx_signer) as new_users
FROM (
SELECT
tx_signer,
b.project_name as project,
min(block_timestamp) as first_tx
FROM near.core.fact_transactions a
LEFT JOIN near.core.dim_address_labels b
ON a.tx_receiver = b.address
WHERE b.project_name is not null
GROUP BY 1 , 2 )
WHERE date > dateadd('month', -{{last_n_month}}, current_date)
AND date < current_date
GROUP BY 2 , 1
ORDER BY 1 DESC
Run a query to Download Data