πŸ“š Documentation

πŸ’¬ Join the Forum Discussion | πŸ“„ Download PDF Documentation | πŸ“Š View the Dashboard

πŸ“ Thresholds Used

πŸ“ˆ How the Indexer Score is Calculated

The Indexer Score is a weighted combination of two critical performance metrics:

This blended metric evaluates an indexer’s overall performance, balancing allocation efficiency and query fee generation.

In the following sections, we break down the methodology used to compute both AER and QFR, including their normalization processes. The final score is adjusted to a uniform scale where 1 represents the best performance and 10 the worst, despite differing normalization directions for AER and QFR.

πŸ“ How Allocation Efficiency Ratio (AER) is calculated:

Total GRT Allocated
(Number of Allocations * Average GRT per Allocation)

The Allocation Efficiency Ratio (AER) measures how effectively an indexer distributes their staked GRT across subgraphs.
‼️ A lower AER reflects more efficient allocation, while a higher AER suggests over-concentration.

Average allocation targets are based on indexer size:

πŸ“ How AER is Normalized:

Normalized AER = 1 + 9 Γ— (min(AER, 500) / 500)

AER is normalized to a scale from 1 (best) to 10 (worst) to account for varying efficiency levels across indexers:

This ensures AER values are fairly compared, with lower ratios (better performance) resulting in lower scores.

πŸ” How Query Fee Ratio (QFR) is calculated:

Query Fees Generated
Total GRT Allocated

The Query Fee Ratio (QFR) measures how efficiently an indexer generates query fees per unit of allocated GRT.
‼️ A higher QFR indicates better performance, as it means more query fees are earned per GRT allocated.

πŸ“ How QFR is Normalized:

Normalized QFR = 10 - 9 Γ— (min(QFR, 1.0) / 1.0)

QFR is normalized to a scale from 10 (best) to 1 (worst) to reflect its efficiency metric, where higher raw QFR values are better:

This normalization preserves QFR’s meaning: indexers generating more query fees relative to their allocations receive higher (better) scores, while those with little to no fees score lower.

πŸ“Š How the Final Indexer Score is calculated:

The final Indexer Score combines AER (70%) and QFR (30%) into a unified scale from 1 (best) to 10 (worst). Since AER and QFR have opposite normalization directions, QFR is adjusted before combining:

Final Score = (Normalized AER Γ— 0.7) + ((11 - Normalized QFR) Γ— 0.3)

Here’s how it works:

Examples:

This method ensures that efficient allocation and high query fee generation both drive the final score toward 1 (best), while poor performance in either metric increases it toward 10 (worst).

⚠️ πŸ”΄ Underserving Penalty: Indexers serving fewer than 10 subgraphs are considered underserving and receive a penalty to their final score. The penalty is calculated as Penalty = 2.0 Γ— (10 - number_of_subgraphs) / 10, and the new score is capped at 10. For example, an Indexer with 1 subgraph receives a penalty of 1.8, while an Indexer with 5 subgraphs receives a penalty of 1.0. This ensures that Indexers are incentivized to support a diverse set of subgraphs, contributing to the health and decentralization of The Graph Network.

πŸ… Performance Flags

Each indexer is assigned a Performance Flag based on its final Indexer Score, providing a quick visual indicator of its overall efficiency and effectiveness:

These ranges are designed to reflect the distribution of scores across the network, distinguishing top performers (🟒) from those needing optimization (πŸ”΄).