Current Value
36000From Chain Metadata
Coldkey swap announcement delay.
Use Cases
- Genesis configuration
- Default value initialization
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 InitialColdkeySwapAnnouncementDelay constant
const value = await api.constants.SubtensorModule.InitialColdkeySwapAnnouncementDelay();
console.log("InitialColdkeySwapAnnouncementDelay:", value);Type Information
- Type
- u32
- Byte Size
- 4 bytes
- Encoding
- fixed
- Raw Hex
- 0xa08c0000
Runtime Info
- Pallet
- SubtensorModule
- First Version
- v385
- Latest Version
- v385
- Current Runtime
- v411