Afonso_DiazContract Categorization
Updated 2025-02-15
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
›
⌄
with contract_tx_count as (
select
contract_address,
count(tx_hash) as tx_count
from flow.core_evm.fact_event_logs
where tx_succeeded
group by contract_address
)
select
case
when tx_count > 10000 then 'High Activity'
when tx_count between 1000 and 10000 then 'Medium Activity'
else 'Low Activity'
end as contract_category,
count(contract_address) as contract_count
from contract_tx_count
group by contract_category
QueryRunArchived: QueryRun has been archived