Bera TeamTotal new and active
Updated 2025-01-31
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
›
⌄
-- Total Contracts (Last 24 Hours)
with Contracts as ( select
count(DISTINCT CONTRACT_ADDRESS) as "Active Contracts"
from berachain.testnet.fact_event_logs
where block_timestamp::Date >= current_timestamp() - interval '24 hours' )
,
new_contracts as ( select min(block_timestamp::date) as day,
contract_address as new
from berachain.testnet.fact_event_logs
group by 2)
,
daily_new as ( select
count(DISTINCT new) as "New Contracts"
from new_contracts
where day >= current_timestamp() - interval '24 hours' )
select "Active Contracts",
"New Contracts"
from Contracts, daily_new
QueryRunArchived: QueryRun has been archived