Hossein2023-06-25 06:20 PM
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
›
⌄
with main as (
select
method_name as action,
label_type,
project_name,
tx_hash,
signer_id as user
from near.core.fact_actions_events_function_call a
join near.core.dim_address_labels b
where a.receiver_id = b.address
and block_timestamp::date >= current_date - 90
and project_name is not null
)
select
label_type,
count(distinct tx_hash) as txns,
count(distinct user) as users
from main
group by 1
order by 3 desc
limit 10
Run a query to Download Data