SubnetAlphaOutEmission

Storage Map v233 → current

Alpha tokens emitted out of subnet pools per block .

Explore chain
Queried by: analyticsdevelopers

The Big Picture

Alpha tokens flow out of subnets to participants. This tracks the rate of alpha leaving each subnet pool via emissions.

Use Cases

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

Purpose & Usage

Purpose

Track alpha outflow 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 SubnetAlphaOutEmission storage
const key1 = 0;

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

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

Runtime Info

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