NetworkMinLockCostSet
Event Re-added v133 → v133, v134 → v135, v136 → v141, v142 → v148, v149 → v165, v195 → v219, v233 → v247, v252 → v265, v273 → v277, v290 → v315, v320 → v326, v334 → v367, v372 → current #59Emitted when minimum subnet lock cost is changed.
View events on chainThe Big Picture
Creating a subnet requires locking TAO as collateral. NetworkMinLockCost sets the floor - even during low-demand periods, you must lock at least this much. Actual lock cost can be higher based on demand. This parameter ensures meaningful commitment from subnet creators.
Why This Matters
The minimum lock cost is your entry price for creating a subnet. Even in best conditions, you need at least this much TAO to lock. Understanding the floor helps you budget for subnet creation and evaluate if it's economically feasible for you.
Example Scenario
Subnet creation was getting too cheap, leading to low-quality subnets. They raise NetworkMinLockCost from 100 TAO to 500 TAO. NetworkMinLockCostSet fires. Now even during low demand, creating a subnet requires locking at least 500 TAO - higher barrier ensures more serious creators.
Common Questions
- Is lock cost the same as burn cost?
- No. Lock cost is collateral - you get it back if you dissolve properly. Burn is permanent. Subnet creation typically uses lock, not burn.
- Can lock cost go below minimum?
- No, that's the floor. Lock cost adjusts with demand but never below NetworkMinLockCost. Minimum is your best-case cost.
- What if I can't afford the minimum?
- You can't create a subnet until you have enough TAO to lock. Save up, or find investors willing to provide the collateral.
Use Cases
- Track minimum capital required to create subnets
- Plan subnet creation budgets
- Monitor network economic policies
- Build subnet creation planning tools
How to Use This Event
- → Track minimum lock cost for budget planning
- → Monitor governance changes affecting subnet creation costs
- → Build subnet creation cost estimation tools
From Chain Metadata
the network minimum locking cost is set.
Triggers
Preconditions
- Caller has admin/sudo privileges
Effects
Postconditions
- NetworkMinLockCost updated
Side Effects
- Changes minimum TAO required to create subnet
Event Data
| # | Name | Type | Description |
|---|---|---|---|
| 0 | arg0 | u64 | Event field #0 (u64) |
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 });
// Subscribe to NetworkMinLockCostSet events
api.query.system.events((events) => {
events
.filter(({ event }) =>
event.section === stringCamelCase("SubtensorModule") &&
event.method === "NetworkMinLockCostSet"
)
.forEach(({ event }) => {
console.log("NetworkMinLockCostSet:", event.data.toHuman());
});
});Version History
Runtime Info
View Source- Pallet Index
- 7
- Event Index
- 59
- First Version
- v133
- Current Version
- v393