hessnew Users per month
Updated 2022-12-19Copy 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
23
24
25
26
27
28
29
30
31
32
›
⌄
with final as ( select 'Flow' as chain, min(block_timestamp) as date, proposer as user
from flow.core.fact_transactions
group by 1,3
UNION
select 'Ethereum' as chain, min(block_timestamp) as date, from_address as user
from ethereum.core.fact_transactions
group by 1,3
UNION
select 'Algorand' as chain, min(block_timestamp) as date, tx_sender as user
from algorand.core.fact_transaction
group by 1,3
UNION
select 'Solana' as chain, min(block_timestamp) as date, SIGNERS[0] as user
from solana.core.fact_transactions
group by 1,3
UNION
select 'Near' as chain, min(block_timestamp) as date, tx_signer as user
from near.core.fact_transactions
group by 1,3)
,
final_2 as ( select chain, trunc(date,'month') as dates, count(DISTINCT(user)) as new_user
from final
where date >= '2022-01-01'
group by 1,2)
select chain, concat(MONTH_OF_YEAR,'.',MONTH_NAME) as month, new_user
from ethereum.core.dim_dates a join final_2 b on a.DATE_DAY = b.dates
Run a query to Download Data