Queried by: analytics
The Big Picture
Simple counter tracking how many root claim operations have occurred. Useful for understanding root network claim patterns.
Use Cases
- Track claim frequency
- Monitor root network activity
Purpose & Usage
Purpose
Tracks the number of root claims made.
Common Query Patterns
- Single value query
Stored Value
Relationships
Modified By
Code Examples
import { createClient, Binary } from "polkadot-api";
import { getWsProvider } from "polkadot-api/ws";
import { sub } from "@polkadot-api/descriptors"; // generated by: npx papi add sub -w wss://entrypoint-finney.opentensor.ai:443
const client = createClient(getWsProvider("wss://entrypoint-finney.opentensor.ai:443"));
const api = client.getTypedApi(sub);
// Query NumRootClaim storage (no keys - plain value)
const result = await api.query.SubtensorModule.NumRootClaim.getValue();
console.log("NumRootClaim:", result);Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Plain
- First Version
- v334
- Current Version
- v411