HadisehUser on solana
Updated 2022-06-22Copy Reference Fork
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
›
⌄
with unretention_sol as ( select min(block_timestamp::date) as day , signers
from solana.core.fact_transactions
where block_timestamp::date >= '2022-05-01'
and block_timestamp::date < '2022-05-30'
group by 2),
retention_sol as ( select min(block_timestamp::date) as day , signers
from solana.core.fact_transactions
where signers in ( select signers from unretention_sol)
and block_timestamp::date >= '2022-06-01'
and block_timestamp::date <= '2022-06-30'
group by 2)
select 'Unretention_user' as user_type , count(DISTINCT(signers)) as unique_user from unretention_sol
group by 1
UNION
select 'Retention_user' as user_type, count(DISTINCT(signers)) as unique_user from retention_sol
group by 1
Run a query to Download Data