This storage item was removed in v338

This storage item is no longer available in the current runtime. Existed from v101 to v338. Shown here for historical reference.

PendingEmission

Storage Removed Map v101 → v338 (removed)

Pending emissions awaiting distribution.

Queried by: validatorsminersanalyticsdevelopers

The Big Picture

Emissions accumulate between tempo cycles. PendingEmission shows how much has built up waiting for the next distribution. When tempo triggers, this pool is distributed to neurons based on their incentive/dividend scores.

Why This Matters

How much is in the hopper? PendingEmission shows TAO waiting to be distributed at next tempo. Larger pending = larger upcoming payout (divided among all neurons).

Example Scenario

Query PendingEmission(netuid=1) returns 300000000000 (300 TAO). When subnet 1's next tempo hits, this 300 TAO will be distributed to neurons based on their performance scores.

Common Questions

Why does it accumulate instead of paying immediately?
Batch processing is more efficient. Emissions accumulate and distribute at tempo intervals. This also gives time for consensus to settle before distributing rewards.
What if tempo is slow?
Longer tempo = more accumulation = larger but less frequent payouts. The emission rate stays the same, just distributed in bigger chunks less often.

Use Cases

  • Estimate the next epoch's payout size
  • Monitor emission accumulation between tempos
  • Build emission timing predictions
  • Debug emission distribution issues
  • Track emission flow through the system

Purpose & Usage

Purpose

Track accumulated emissions not yet distributed - the buffer before the next epoch payout.

Common Query Patterns

  • Query by netuid
  • Estimate upcoming distribution size
  • Monitor emission accumulation

Query Keys

#NameTypeDescription
1
key1
u16 key1 (u16)

Stored Value

Value in RAO (÷10⁹ for TAO)

RAO -> TAO (/ 10^9)

Code Examples

import { ApiPromise, WsProvider } from "@polkadot/api";
import { stringCamelCase } from "@polkadot/util";

const provider = new WsProvider("wss://entrypoint-finney.opentensor.ai:443");
const api = await ApiPromise.create({ provider });

// Query PendingEmission storage
const key1 = 0;

const result = await api.query
  [stringCamelCase("SubtensorModule")]
  [stringCamelCase("PendingEmission")](
  key1
);

console.log("PendingEmission:", result.toHuman());

Runtime Info

View Source
Pallet
SubtensorModule
Storage Kind
Map
First Version
v101
Removed In
v338