NetworkLockReductionInterval
Storage Plain v133 → currentBlocks between lock cost reductions.
Explore chainThe 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() at v454 returns 115200 blocks (16 days at 12 s per block; the runtime default is 100800, 14 days). If no subnet is created over that interval, 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
Value in RAO (÷10⁹ for TAO)
RAO -> TAO (/ 10^9)
Default Value
Absent keys read as this value — querying a key that has never been written returns this default, not an error or empty result.
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 NetworkLockReductionInterval storage (no keys - plain value)
const result = await api.query.SubtensorModule.NetworkLockReductionInterval.getValue();
console.log("NetworkLockReductionInterval:", result);On-Chain Activity
Fewer than 10K writes
#361 most written storage item
Modified by both user extrinsics and runtime hooks
As of block 9,385,000
Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Plain
- First Version
- v133
- Current Version
- v490