saeedmznaverage active users over time
Updated 2023-03-27
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
›
⌄
with events as (select TX_ID
from flow.core.fact_events
where EVENT_CONTRACT ilike '%Dimension%'
group by 1
),
daily as (
select date_trunc(day,block_timestamp)::date daily,
count (DISTINCT proposer) active_users ,
count (tx_id) transactions
from flow.core.fact_transactions
where tx_id in (select tx_id from events )
and TX_SUCCEEDED = true
group by 1 order by 1
)
select
round( avg(active_users) ) average_active_users ,
min (active_users) min_active_users ,
max (active_users) max_active_users ,
median (active_users) median_active_users ,
round( avg(transactions) ) average_transactions ,
min (transactions) min_transactions ,
max (transactions) max_transactions ,
median (transactions) median_transactions
from daily
Run a query to Download Data