This storage item was removed in v219
This storage item is no longer available in the current runtime. Existed from v146 to v219. Shown here for historical reference.
TotalHotkeyColdkeyStakesThisInterval
Storage Removed Map v146 → v219 (removed)TotalHotkeyColdkeyStakesThisInterval storage from SubtensorModule pallet .
Purpose & Usage
Purpose
Stores chain state data.
Common Query Patterns
- Single value query for aggregate data
Query Keys
Stored Value
Value in RAO (÷10⁹ for TAO)
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 TotalHotkeyColdkeyStakesThisInterval storage
const key1 = "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY";
const key2 = "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY";
const result = await api.query
[stringCamelCase("SubtensorModule")]
[stringCamelCase("TotalHotkeyColdkeyStakesThisInterval")](
key1,
key2
);
console.log("TotalHotkeyColdkeyStakesThisInterval:", result.toHuman());Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Map
- First Version
- v146
- Removed In
- v219