SubnetAlphaInEmission

Storage Map v233 → current

Alpha tokens emitted into subnet pools per block .

Explore chain
Queried by: analyticsdevelopers

The Big Picture

Alpha tokens flow into subnets via emissions. This tracks the rate of alpha entering each subnet pool.

Use Cases

  • Track alpha emission rates
  • Research subnet economics
  • Build emission dashboards

Purpose & Usage

Purpose

Track alpha inflow from emissions.

Common Query Patterns

  • Query by netuid

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 SubnetAlphaInEmission storage
const key1 = 0;

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

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

Runtime Info

View Source
Pallet
SubtensorModule
Storage Kind
Map
First Version
v233
Current Version
v393