RootClaimed

Storage Map v334 → current

Total TAO claimed from root network by a hotkey .

Explore chain
Queried by: validatorsstakersanalytics

The Big Picture

Cumulative record of how much TAO each hotkey has claimed from root emissions. Useful for analytics and tracking validator profitability.

Use Cases

  • Track historical claim activity
  • Build analytics dashboards
  • Verify claim transactions

Purpose & Usage

Purpose

Historical record of claimed root network rewards.

Common Query Patterns

  • Query by hotkey
  • Track total claims

Query Keys

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

Stored Value

Value in RAO (÷10⁹ for TAO)

RAO -> TAO (/ 10^9)

Relationships

Modified By

Related Events

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

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

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

On-Chain Activity

Write Frequency
●●○○○○ Minimal <10K est. writes

<10K estimated writes

#61 most written storage item

Write Source User Extrinsics

Modified via user-submitted extrinsics

As of block 7,429,232

Runtime Info

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