PendingChildKeyCooldown
Storage Plain v277 → currentCooldown period for pending childkey operations.
Explore chainQueried by: validatorsdevelopers
The Big Picture
Childkey changes have a cooldown before activation. This prevents rapid childkey manipulation and gives stakeholders time to react.
Use Cases
- Plan childkey operations
- Understand childkey timing
- Build childkey management tools
From Chain Metadata
Storage value for pending childkey cooldown, settable by root.
Purpose & Usage
Purpose
Delay before childkey changes take effect.
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 PendingChildKeyCooldown storage (no keys - plain value)
const result = await api.query
[stringCamelCase("SubtensorModule")]
[stringCamelCase("PendingChildKeyCooldown")]();
console.log("PendingChildKeyCooldown:", result.toHuman());Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Plain
- First Version
- v277
- Current Version
- v393