DissolveNetworkScheduleDuration

Storage Plain v195 → current

Duration before scheduled network dissolution executes.

Explore chain
Queried by: subnet ownersdevelopersanalytics

The Big Picture

Subnet dissolution is not instant - it is scheduled with a delay. This gives participants time to unstake or prepare. The duration defines how long the delay is.

Use Cases

  • Plan subnet dissolution timing
  • Understand dissolution delay
  • Build subnet lifecycle tools

Purpose & Usage

Purpose

Delay period for subnet dissolution operations.

Common Query Patterns

  • Single value query

Stored Value

value (u32)

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 DissolveNetworkScheduleDuration storage (no keys - plain value)
const result = await api.query.SubtensorModule.DissolveNetworkScheduleDuration.getValue();
console.log("DissolveNetworkScheduleDuration:", result);

Runtime Info

View Source
Pallet
SubtensorModule
Storage Kind
Plain
First Version
v195
Current Version
v411