RootAlphaDividendsPerSubnet

Storage Map v361 → current

Root network alpha dividends per subnet .

Explore chain
Queried by: validatorsanalyticsdevelopers

The Big Picture

Root network validators (netuid 0) set weights on subnets and earn dividends from those subnets' performance. This tracks how much each root validator earned from each subnet - the economic link between metagovernance and subnet success.

Why This Matters

Root validators govern which subnets get emissions. In return, they earn dividends from subnet success. This creates economic incentive to weight good subnets.

Example Scenario

Query RootAlphaDividendsPerSubnet(netuid=1, hotkey=root_validator) shows how much this root validator earned from subnet 1's operations.

Common Questions

Why do root validators earn from subnets?
Root validators allocate emissions to subnets. They're rewarded for good allocation - weighting successful subnets means higher dividends.
Is this different from AlphaDividendsPerSubnet?
Yes. AlphaDividendsPerSubnet is for validators ON a subnet. This is for ROOT validators earning FROM a subnet through their governance role.

Use Cases

  • Check root validator earnings from specific subnets
  • Analyze how subnet performance affects root dividends
  • Build root network economics dashboards
  • Research metagovernance incentives
  • Track capital flows from subnets to root

From Chain Metadata

DMAP ( netuid, hotkey ) --> u64 | Last root alpha dividend this hotkey got on tempo.

Purpose & Usage

Purpose

Track root network dividend allocation - special dividends for root network validators.

Common Query Patterns

  • Query by netuid-hotkey
  • Calculate root validator earnings per subnet
  • Track root-level dividend flows

Query Keys

#NameTypeDescription
1
key1
u16 key1 (u16)
2
key2
AccountId key2 (AccountId) (hex -> SS58)

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 RootAlphaDividendsPerSubnet storage
const key1 = 0;
const key2 = "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY";

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

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

Runtime Info

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