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 { 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 PendingChildKeyCooldown storage (no keys - plain value)
const result = await api.query.SubtensorModule.PendingChildKeyCooldown.getValue();
console.log("PendingChildKeyCooldown:", result);Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Plain
- First Version
- v277
- Current Version
- v411