MLDZMNwgno8
Updated 2022-10-16Copy Reference Fork
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
›
⌄
with tb1 as (select
distinct TO_ADDRESS,
count(distinct FROM_ADDRESS) as no_users
from gnosis.core.fact_transactions
where block_timestamp >= current_date - 30
group by 1
order by 2 desc limit 10
)
select
block_timestamp::date as day,
TO_ADDRESS,
count(distinct FROM_ADDRESS) as no_users
from gnosis.core.fact_transactions
where block_timestamp >= current_date - 30
and TO_ADDRESS in (select TO_ADDRESS from tb1)
group by 1,2
Run a query to Download Data