> For the complete documentation index, see [llms.txt](https://docs.stakingrewards.com/staking-data/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stakingrewards.com/staking-data/methodologies/subsquid-srb.md).

# Subsquid SRB

Learn how Subsquid staking rewards are calculated. SQDSRB formula covers target reward rate, network utilization, epoch length, and total staked SQD.

SQDSRB is a benchmark representing the mean, annualized staking rate across all active Subsquid workers.

SQDSRB is calculated and published by Staking Rewards via the [Subsquid Profile](https://www.stakingrewards.com/asset/subsquid) and [Data API](https://www.stakingrewards.com/data-api).

> **TL;DR:** Subsquid staking rewards are based on a dynamic target reward rate that adjusts according to network utilization and total staked tokens. The rate is distributed per epoch and annualized.

### SQD Staking Rewards Rate: SQDSRB

$$
SQDSRB = rAPR/t\_y \* st \* el
$$

<table><thead><tr><th width="149">Formula key</th><th width="180">Metric name</th><th>Description</th></tr></thead><tbody><tr><td>rAPR</td><td>Target Reward Rate</td><td>The target reward rate. It is a dynamic rate that determines the annual rewards distributed to stakers based on the network's utilization and the total amount of staked tokens.</td></tr><tr><td>st</td><td>Staked Tokens</td><td>The total tokens staked including tokens bonded by workers and delegated by delegators.</td></tr><tr><td>el</td><td>Epoch Length</td><td>The length of the epoch in days.</td></tr><tr><td><span class="math">t_y</span></td><td>Year Constant</td><td>365d</td></tr></tbody></table>

#### Slashing

* SQDSRB does not factor in the possibility of slashing occurrences.
* It's important to note that if validator entities face slashing, rewards will increase, as the slashed tokens are reallocated among validators.

***

### SQD Worker Staking Reward Rate: SQDSRB(v)

Staking Rewards calculates the SQDSRB for each worker based on their individual performance.

$$
SQDSRB(v) = rMAX \* dl \* dt\_1 \* dt\_2
$$

<table><thead><tr><th width="142">Formula key</th><th width="208">Metric name</th><th>Description</th></tr></thead><tbody><tr><td>rMAX</td><td>Maximum Reward Rate</td><td>The maximum potential yield for the epoch.</td></tr><tr><td>dl</td><td>Liveness Factor</td><td>it is calculated as the percentage of the time the worker is self-reported online.</td></tr><tr><td><span class="math">dt_1</span></td><td>Traffic Factor</td><td>Cobb-Douglas type discount factor.</td></tr><tr><td><span class="math">dt_2</span></td><td>Tenure Factor</td><td>It is a long-range liveness factor incentivizing consistent liveness across the epochs.</td></tr></tbody></table>

***

#### Observation Period:

* The SQDSRB is determined based on the latest generated epoch at the point of evaluation.
* This data is then annualized for a comprehensive year-long projection.

#### Calculation

The calculation happens every 2 hours and is immediately published via [Data API](https://www.stakingrewards.com/data-api).

#### Limitations

* SQDSRB covers the SQD emission rewards paid to workers and delegators. USDT rewards paid to Portal Pool lockers are a separate product and are not included.
* SQDSRB employs a 365-day convention for annualizing current slot times. This convention remains consistent and does not accommodate adjustments for leap years.

***

### SQD Real Reward Rate: SQDSRB^R

The real reward rate calculates the SQDSRB adjusted for inflation in the network.

$$
SQDSRB^R=1 + SQDSRB/(1+ir) -1
$$

<table><thead><tr><th width="140">Formula key</th><th width="144">Metric name</th><th>Description</th></tr></thead><tbody><tr><td>ir</td><td>Inflation Rate</td><td>The annualized rewards divided by the circulating supply.</td></tr></tbody></table>

$$
ir = R\_a / cs, \quad R\_a = \left(\sum\_{d=1}^{30} (wr\_d + sr\_d)\right) \times t\_y / 30
$$

<table><thead><tr><th width="140">Formula key</th><th width="180">Metric name</th><th>Description</th></tr></thead><tbody><tr><td><span class="math">R_a</span></td><td>Annualized Rewards</td><td>Realized SQD emissions over the last 30 complete UTC days, annualized.</td></tr><tr><td><span class="math">wr_d</span></td><td>Worker Rewards</td><td>SQD distributed to workers on day d by the on-chain rewards distribution contract.</td></tr><tr><td><span class="math">sr_d</span></td><td>Delegator Rewards</td><td>SQD distributed to delegators on day d by the on-chain rewards distribution contract.</td></tr><tr><td>cs</td><td>Circulating Supply</td><td>The circulating SQD supply.</td></tr><tr><td><span class="math">t_y</span></td><td>Year Constant</td><td>365d</td></tr></tbody></table>

**Inflation Rate Behavior**

* SQD rewards are paid from a reward pool rather than minted, so the inflation rate measures realized emissions from that pool relative to the circulating supply.
* Emissions are not fixed. The pool caps rewards at 10% of the total supply over the initial 3-year bootstrapping phase, but the amount actually distributed depends on the protocol's base APR, the utilized stake, and each worker's liveness and traffic factors. Realized emissions run well below that cap, so the inflation rate is computed from the rewards actually distributed, never from the cap.
* The 30-day window ends at the last complete UTC day the network indexer has processed. When the indexer is more than 72 hours behind, or the result is not positive or exceeds 1.25 × the base APR × the utilized stake, the inflation rate, annualized rewards and block reward are not published for that run.

***

### Other Subsquid metrics calculated by Staking Rewards:

<table><thead><tr><th width="190">Metric</th><th>Description</th></tr></thead><tbody><tr><td>Delegated Tokens</td><td>The number of SQD tokens delegated to workers.</td></tr><tr><td>Self Staked Tokens</td><td>The number of SQD tokens bonded by workers directly.</td></tr><tr><td>Staking Wallets</td><td>The total number of unique delegations on-chain. It doesn't distinguish based on unique delegator addresses.</td></tr><tr><td>Annualized Rewards</td><td>Realized SQD emissions to workers and delegators over the last 30 complete UTC days × 365 / 30 (<span class="math">R_a</span> above), also published in USD.</td></tr><tr><td>Block Time</td><td>The Ethereum L1 block time <code>t_b</code>, measured from two Ethereum headers 100,000 blocks apart. The protocol's epochs and lock periods are denominated in Ethereum L1 blocks.</td></tr><tr><td>Block Reward</td><td>Annualized rewards per Ethereum L1 block: <code>R_a × t_b / (365 × 86400)</code>.</td></tr><tr><td>Unstaking Time</td><td>The time, in seconds, between a worker requesting deregistration and its bond becoming liquid: <code>lockPeriod × t_b</code>, where <code>lockPeriod</code> is read live from the WorkerRegistration contract on Arbitrum One (99,999 Ethereum L1 blocks) and <code>t_b</code> is the Ethereum L1 block time measured over the latest 100,000 blocks (about 12.05 s), giving about 13.95 days. Delegators face the same 99,999-block period, but as a lock that must pass before they can undelegate.</td></tr></tbody></table>

#### Data Sources:

* [Staking Rewards](https://www.stakingrewards.com/) from indexed Subsquid Blockchain RPC Endpoints
* Realized worker and delegator rewards from the SQD Network indexer, which indexes the rewards distribution contract's `Distributed` events on Arbitrum One
* Ethereum L1 block headers from Ethereum RPC

***

#### References:

* <https://docs.sqd.dev/>
* [SQD Network: Run a worker](https://docs.sqd.dev/en/network/worker)
* [SQD Network: Delegate](https://docs.sqd.dev/en/network/delegate)

***

:books:[ Learn more about SQD Staking](https://www.stakingrewards.com/asset/subsquid)

:bar\_chart: [Calculate your SQD Staking Rewards](https://www.stakingrewards.com/calculator?asset=subsquid)

:gear: [Access historic Subsquid Staking Data via API](https://www.stakingrewards.com/data-api)

```
Last updated on 10/17/2026
```
