RootClaimType

Storage Map v334 → current

Claim distribution type for root network rewards.

Explore chain
Queried by: validatorssubnet owners

The Big Picture

Determines how claimed root rewards flow - whether they go directly to the claiming hotkey or are distributed among stakers.

Use Cases

  • Understand claim distribution mechanism
  • Configure claim behavior

Purpose & Usage

Purpose

Configures how root claims are distributed (to stakers vs retained).

Common Query Patterns

  • Single value query

Query Keys

#NameTypeDescription
1
key1
AccountId key1 (AccountId) (hex -> SS58)

Stored Value

value (RootClaimTypeEnum)

Relationships

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

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

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

On-Chain Activity

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

<10K estimated writes

#60 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