RootProp
Storage Map v365 → currentRoot network proportion for emission distribution.
Explore chainQueried by: validatorsanalyticsdevelopers
The Big Picture
A portion of all emissions flows to the root network. This proportion determines how much goes to root vs subnets.
Use Cases
- Understand emission distribution
- Calculate root network rewards
- Build emission calculators
From Chain Metadata
MAP ( netuid ) --> root_prop | The subnet root proportion.
Purpose & Usage
Purpose
Control share of emissions going to root network.
Common Query Patterns
- Single value query
Query Keys
| # | Name | Type | Description |
|---|---|---|---|
| 1 | key1 | u16 | key1 (u16) |
Stored Value
value (FixedU128)
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 RootProp storage
const key1 = 0;
const result = await api.query
[stringCamelCase("SubtensorModule")]
[stringCamelCase("RootProp")](
key1
);
console.log("RootProp:", result.toHuman());Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Map
- First Version
- v365
- Current Version
- v393