Protects new subnets from being dissolved immediately.
Current Value
1296000The Big Picture
New subnets need time to bootstrap - attract miners, validators, and prove value. This constant provides a grace period during which the subnet cannot be dissolved due to poor performance or low activity. It's like a startup runway: time to get operations running before facing competitive pressure from other subnets for emission slots.
Why This Matters
As a subnet owner, you have this many blocks to establish your subnet before it can be replaced. Use this time to recruit participants and configure hyperparameters.
Example
With NetworkImmunityPeriod of 7200 blocks (~24 hours), a newly created subnet has one day of guaranteed existence. After that, if it has lower emissions or activity than competing subnets waiting for slots, it can be dissolved to make room.
Common Questions
- What happens after immunity expires?
- The subnet competes normally. If there's demand for new subnets and yours performs poorly, it can be dissolved. Strong performance keeps you safe.
- Can I recover locked TAO during immunity?
- No, you must wait for immunity to expire before dissolving. This prevents hit-and-run subnet creation.
From Chain Metadata
Initial network immunity period
Use Cases
- Subnet lifecycle
- Network management
Value History
| Version | Block | Change | Value |
|---|---|---|---|
| v133 | #1,404,224 | Added | 50400 |
| v320 | #6,523,566 | Changed | 50400 → 1296000 |
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 InitialNetworkImmunityPeriod constant
const value = await api.constants.SubtensorModule.InitialNetworkImmunityPeriod();
console.log("InitialNetworkImmunityPeriod:", value);
// Balance: divide by 10^9 for TAO
const tao = value / 1_000_000_000n;Type Information
- Type
- u64
- Byte Size
- 8 bytes
- Encoding
- fixed
- Raw Hex
- 0x80c6130000000000
Version History
Runtime Info
- Pallet
- SubtensorModule
- First Version
- v133
- Latest Version
- v133
- Current Runtime
- v411