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 { 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 NumRootClaim storage (no keys - plain value)
const result = await api.query
[stringCamelCase("SubtensorModule")]
[stringCamelCase("NumRootClaim")]();
console.log("NumRootClaim:", result.toHuman());Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Plain
- First Version
- v334
- Current Version
- v393