RootClaimable
Storage Map v334 → currentAmount of TAO available for root network claims per hotkey .
Explore chainQueried by: validatorsstakerswallets
The Big Picture
Root network participants earn emissions based on their stake weight. This storage tracks accumulated rewards that can be claimed via root_claim.
Use Cases
- Check pending root rewards
- Build reward notification systems
- Track emission accumulation
Purpose & Usage
Purpose
Tracks pending rewards from root network emission allocation.
Common Query Patterns
- Query by hotkey
- Check unclaimed rewards
Query Keys
| # | Name | Type | Description |
|---|---|---|---|
| 1 | key1 | AccountId | key1 (AccountId) (hex -> SS58) |
Stored Value
value (BTreeMap)
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 RootClaimable storage
const key1 = "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY";
const result = await api.query
[stringCamelCase("SubtensorModule")]
[stringCamelCase("RootClaimable")](
key1
);
console.log("RootClaimable:", result.toHuman());Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Map
- First Version
- v334
- Current Version
- v393