SalehOlas_Services_date
Updated 2024-11-09
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
›
⌄
with lst_month as (
select
count(DISTINCT tx_hash) as "TXs30D"
from crosschain.olas.fact_service_events
where block_timestamp::date>=current_date-30
)
, lst_week as (
select
count(DISTINCT tx_hash) as "TXs7D"
from crosschain.olas.fact_service_events
where block_timestamp::date>=current_date-6
)
select
date_trunc(month,block_timestamp::date) as date
,count(DISTINCT tx_hash) as "# of Registrants"
,count(DISTINCT service_id) as "Services"
,count(DISTINCT agent_ids) as "Agents"
from crosschain.olas.ez_service_registrations
group by 1
order by 1
QueryRunArchived: QueryRun has been archived