Top 50 Contracts
Note: Documentation for these "Hedera Stats" are currently being developed.
Overview
The primary goal of this metric is to provide insights into the most heavily utilized or impactful smart contracts on the Hedera network. It evaluates both transaction volume and the diversity of interactions, ensuring that rankings highlight genuine usage while minimizing the effects of artificial inflation or spam.
Hedera Data Access
To access this Hedera network statistic (and others) via Hgraph's GraphQL & REST APIs, get started here.
Methodology
Inclusion Criteria
-
Normalized Contract Calls:
- All transactions interacting with a smart contract via a
CONTRACTCALL
or similar Hedera Token Service interaction. - Includes both successful and failed transactions.
- All transactions interacting with a smart contract via a
-
Normalized Unique Callers:
- Measures how many distinct accounts (wallets or entities) interact with the contract.
- Helps reduce the impact of single wallets or bots inflating usage metrics.
Normalization ensures that all values are scaled between 0 and 1 to make them comparable across contracts.
Exclusion Criteria
- Contracts where the majority of interactions (>90%) originate from a single wallet or small set of wallets, as these are likely attempts to manipulate rankings.
Ranking Formula
To calculate the rankings:
- Weight
Normalized Contract Calls
andNormalized Unique Callers
equally. - Normalize and aggregate both metrics to assign a composite score.
Composite Score = (Normalized Contract Calls * 0.5) + (Normalized Unique Callers * 0.5)
Components:
- Normalized Contract Calls: Measures the total interactions with a contract, reflecting its overall usage.
- Normalized Unique Callers: Tracks the number of unique accounts interacting with a contract, promoting authenticity.
Rationale:
- Equal weighting ensures both raw usage and diverse participation are valued equally.
- Caller diversity minimizes rankings being skewed by bots or a few accounts.
- Normalization scales all contracts for fair ranking.
- Rankings refresh daily with a rolling average to filter anomalies.
SQL Code
This is the SQL code required to run these calculations.
WILL BE ADDED SOON
Dependencies
- Hedera mirror node