Queried by: subnet ownersdevelopersanalytics
The Big Picture
Creating a subnet requires locking TAO. NetworkMinLockCost is the floor - you'll pay at least this much. Actual cost may be higher based on current dynamics. This barrier prevents frivolous subnet creation and ensures owner commitment.
Why This Matters
Planning to create a subnet? NetworkMinLockCost is your minimum budget. The actual cost might be higher depending on demand, but won't be lower.
Example Scenario
Query NetworkMinLockCost() returns 100000000000000 (100,000 TAO). At minimum, creating a subnet requires locking 100K TAO. May cost more during high demand.
Common Questions
- Why so expensive?
- Ensures only serious operators create subnets. Prevents spam and ensures each subnet has meaningful backing. Lock may be recoverable under certain conditions.
- Is this the actual cost?
- It's the floor. Actual cost depends on current dynamics. Check the current lock cost mechanism for precise pricing.
Use Cases
- Check minimum cost to create a subnet
- Plan subnet launch budget
- Research network economic parameters
- Compare against actual lock costs over time
- Build subnet creation cost estimators
Purpose & Usage
Purpose
Barrier to entry for subnet creation - ensures only committed operators create subnets.
Common Query Patterns
- Single value query
- Plan subnet creation budget
- Research network economics
Stored Value
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 NetworkMinLockCost storage (no keys - plain value)
const result = await api.query.SubtensorModule.NetworkMinLockCost.getValue();
console.log("NetworkMinLockCost:", result);Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Plain
- First Version
- v133
- Current Version
- v411