Abolfazl_771025Daily active users
Updated 2022-07-31
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
active_users_n as (
SELECT
trunc(block_timestamp,'day') as date,
count(distinct from_address) as active_users
from flipside_prod_db.polygon.transactions
group by 1
),
active_users_2_n as (
SELECT
trunc(block_timestamp,'day') as date,
count(distinct to_address) as active_users
from flipside_prod_db.polygon.transactions
group by 1
),
total_active_users as (
SELECT
trunc(block_timestamp,'day') as date,
count(distinct to_address) + count(distinct from_address) as active_users
from flipside_prod_db.polygon.transactions
group by 1
)
select 'Doing transactions' as type,* from active_users_n
UNION
select 'Receiving tokens' as type,* from active_users_2_n
UNION
select 'Total active users' as total,* from total_active_users
Run a query to Download Data