Sbhn_NPnew 1
Updated 2023-01-11
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 flow_new as (
select proposer,
min(block_timestamp) as min_date
from flow.core.fact_transactions
group by 1
),
solana_new as (
select signers[0] as users,
min(block_timestamp) as min_date
from solana.core.fact_transactions
group by 1
),
osmosis_new as (
select tx_from,
min(block_timestamp) as min_date
from osmosis.core.fact_transactions
group by 1
)
select 'Flow' as blockchain,
date_trunc('day',min_date) as date,
count(DISTINCT proposer) as new_users
from flow_new
where min_date >= '2022-12-24'
group by 1,2
UNION ALL
select 'Solana' as blockchain,
date_trunc('day',min_date) as date,
count(DISTINCT users) as new_users
from solana_new
where min_date >= '2022-12-24'
group by 1,2
Run a query to Download Data