shreexFlow Active
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 wallets as (
select
proposer as user,
max(block_timestamp) as max,
min(block_timestamp) as min
from flow.core.fact_transactions
GROUP BY user
),
dau as (
select
date_trunc('month',block_timestamp) as date1,
proposer as dau ,
count(*) as txs
from flow.core.fact_transactions where block_timestamp >= '2022-12-01'
group by date1,dau
HAVING txs > 5
)
, actives as (
select
'Active Wallets' as type,
count(distinct user) as user_count
from wallets where max >= '2022-12-01'
),
not_active as (
select
'Unactive Wallets' as type,
count(distinct user) as user_count
from wallets where max < '2022-12-01'
),
alll as (
select
'All Wallets' as type,
count(distinct user) as user_count
from wallets
),
Run a query to Download Data