NetworkRateLimit
Storage Plain v133 → currentBlocks between allowed subnet creations.
Explore chainThe Big Picture
The network can't absorb unlimited subnets at once. NetworkRateLimit enforces pacing - after a subnet is created, the network waits this many blocks before allowing another. Ensures orderly network expansion.
Why This Matters
Want to create a subnet? Check when the last one was created. You must wait NetworkRateLimit blocks from NetworkLastRegistered before creating another.
Example Scenario
Query NetworkRateLimit() at v454 returns 14400 blocks (48 hours at 12 s per block; the runtime default is 7200, 24 hours). After someone creates a subnet, everyone must wait that long before the next creation is allowed.
Common Questions
- Why limit creation rate?
- Network stability. Too many new subnets at once could overwhelm resources and make discovery chaotic. Pacing ensures orderly growth.
- Does this affect all subnet creators?
- Yes, it's network-wide. One person creating a subnet affects everyone's ability to create for the rate limit period.
Use Cases
- Check when next subnet creation is allowed
- Plan subnet launch timing
- Research network growth controls
- Build subnet creation timing tools
- Understand network expansion dynamics
Purpose & Usage
Purpose
Rate limit new subnet creation - prevents rapid network flooding.
Common Query Patterns
- Single value query
- Plan subnet creation timing
- Understand network pacing
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 NetworkRateLimit storage (no keys - plain value)
const result = await api.query.SubtensorModule.NetworkRateLimit.getValue();
console.log("NetworkRateLimit:", result);On-Chain Activity
Fewer than 10K writes
#376 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