RegistrationsThisInterval

Storage Map v101 → v411

Registrations in current adjustment interval.

Explore chain
Queried by: minersvalidatorsdevelopersanalytics

The 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

From Chain Metadata

MAP ( netuid ) --> registrations_this_interval

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

#NameTypeDescription
1
netuid
u16 netuid (u16, hashed key component)

Stored Value

registrations_this_interval (u16)

Relationships

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 RegistrationsThisInterval storage
const netuid = 1;

const result = await api.query.SubtensorModule.RegistrationsThisInterval.getValue(netuid);
console.log("RegistrationsThisInterval:", result);

On-Chain Activity

Write Frequency
●●●●○○ Medium 100K–1M est. writes

100K–1M estimated writes

#44 most written storage item

Write Source User Extrinsics

Modified via user-submitted extrinsics

As of block 7,429,232

Version History

v101 block 1 Added
v123 block 720,235 Internal re-bind
v149 block 3,014,339 Internal re-bind
v166–v194 · runtime versions skipped on chain (never deployed)
v195 block 3,791,350 Internal re-bind
v278–v289 · runtime versions skipped on chain (never deployed)
v290 block 5,947,548 Internal re-bind Current

Runtime Info

View Source
Pallet
SubtensorModule
Storage Kind
Map
First Version
v101
Current Version
v411