InitialNetworkLockReductionInterval

Constant v133 → current u64

Controls how fast subnet creation becomes cheaper.

Current Value

100800
Relevant for: subnet ownersdevelopersanalytics

The Big Picture

After a subnet is created, the lock cost gradually decreases over time if no one else creates subnets. This constant sets how often the reduction occurs. It creates an auction mechanism - if you wait, subnet creation gets cheaper, but someone else might create one first, resetting the price.

Why This Matters

If you're patient, waiting for lock cost to decay can save TAO. But waiting risks someone else creating a subnet and resetting the cost upward.

Example

With NetworkLockReductionInterval of 14400 blocks (~2 days), lock cost decreases every 2 days. If current lock is 1000 TAO and you wait 4 days, it might drop to 800 TAO (assuming 10% reduction per interval).

Common Questions

How much does lock cost decrease each interval?
Depends on the reduction factor (a separate parameter). Typically 5-10% per interval. Check current cost via NetworkMinLockCost storage.
What resets the lock cost?
Someone creating a new subnet. Lock cost spikes after creation, then decays again. It's a market mechanism for subnet slot pricing.

Use Cases

  • Subnet economics
  • Lock cost decay

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 InitialNetworkLockReductionInterval constant
const value = api.consts[stringCamelCase("SubtensorModule")][stringCamelCase("InitialNetworkLockReductionInterval")];
console.log("InitialNetworkLockReductionInterval:", value.toHuman());

// Convert RAO to TAO if this is a balance value
const taoValue = value.toBigInt() / BigInt(1e9);
console.log("TAO:", taoValue.toString());

Type Information

Type
u64
Byte Size
8 bytes
Encoding
fixed
Raw Hex
0xc089010000000000

Runtime Info

Pallet
SubtensorModule
First Version
v133
Latest Version
v133
Current Runtime
v393