peteerNumber of unique users per week
Updated 2022-08-31
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
›
⌄
with number_of_unique_users as
(
select count(distinct origin_from_address) from optimism.velodrome.ez_claimed_rewards
)
,number_of_unique_users_day as
(
select count(distinct origin_from_address),date_trunc('day', block_timestamp) from optimism.velodrome.ez_claimed_rewards
group by 2
)
,number_of_unique_users_week as
(
select count(distinct origin_from_address),date_trunc('week', block_timestamp) from optimism.velodrome.ez_claimed_rewards
group by 2
)
,number_of_unique_users_month as
(
select count(distinct origin_from_address),date_trunc('month', block_timestamp) from optimism.velodrome.ez_claimed_rewards
group by 2
)
select * from number_of_unique_users_week