NetworkLockReductionInterval
Storage Plain v133 → currentBlocks between lock cost reductions.
Explore chainQueried by: subnet ownersdevelopersanalytics
The Big Picture
If no subnets are created, the lock cost gradually decreases. NetworkLockReductionInterval controls how often this reduction happens. More frequent reductions = faster price decay during quiet periods.
Why This Matters
Waiting for subnet creation to get cheaper? Lock cost reduces every NetworkLockReductionInterval blocks (if no one creates a subnet). Plan your timing accordingly.
Example Scenario
Query NetworkLockReductionInterval() returns 14400 blocks (~8 hours). If no subnet is created for 8 hours, lock cost decreases toward the minimum.
Common Questions
- How much does it reduce?
- Typically a percentage of current cost. Exact formula depends on protocol parameters. Check current lock cost to see actual values.
- Does creating a subnet reset this?
- Yes, subnet creation typically increases lock cost. The reduction happens during periods of no activity.
Use Cases
- Predict when subnet creation will get cheaper
- Plan subnet creation timing for best price
- Research network economics
- Build lock cost prediction models
- Understand subnet market dynamics
Purpose & Usage
Purpose
Control lock cost decay rate - how quickly subnet creation becomes cheaper.
Common Query Patterns
- Single value query
- Predict lock cost changes
- Plan subnet creation timing
Stored Value
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 NetworkLockReductionInterval storage (no keys - plain value)
const result = await api.query
[stringCamelCase("SubtensorModule")]
[stringCamelCase("NetworkLockReductionInterval")]();
console.log("NetworkLockReductionInterval:", result.toHuman());Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Plain
- First Version
- v133
- Current Version
- v393