RegistrationsThisInterval
Storage Map v101 → currentRegistrations in current adjustment interval.
Explore chainThe Big Picture
This counter tracks how many registrations have happened since the last difficulty adjustment. At each AdjustmentInterval, it's compared to TargetRegistrationsPerInterval to determine whether costs should increase or decrease.
Why This Matters
Will registration get cheaper or more expensive? Compare this to TargetRegistrationsPerInterval. Above target = costs rising. Below = costs falling.
Example Scenario
Query RegistrationsThisInterval(netuid=1) returns 5. Target is 3. We're 67% above target, so expect difficulty and burn to increase at the next adjustment.
Common Questions
- When does this reset?
- At each AdjustmentInterval. After difficulty adjusts, the counter resets to zero for the next interval.
- Does this include both POW and burn?
- Yes, this is total registrations. Check POWRegistrationsThisInterval and BurnRegistrationsThisInterval for the breakdown.
Use Cases
- Predict whether costs will increase or decrease
- Monitor registration activity in real-time
- Research registration patterns
- Build registration activity dashboards
- Plan registration timing
Purpose & Usage
Purpose
Track registration rate for difficulty adjustment - compared against target to adjust costs.
Common Query Patterns
- Query by netuid
- Predict difficulty changes
- Monitor registration activity
Query Keys
| # | Name | Type | Description |
|---|---|---|---|
| 1 | key1 | u16 | key1 (u16) |
Stored Value
value (u16)
Relationships
Modified By
Related Events
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 RegistrationsThisInterval storage
const key1 = 0;
const result = await api.query
[stringCamelCase("SubtensorModule")]
[stringCamelCase("RegistrationsThisInterval")](
key1
);
console.log("RegistrationsThisInterval:", result.toHuman());On-Chain Activity
100K–1M estimated writes
#44 most written storage item
Modified via user-submitted extrinsics
As of block 7,429,232
Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Map
- First Version
- v101
- Current Version
- v393