This storage item was removed in v306

This storage item is no longer available in the current runtime. Existed from v133 to v306. Shown here for historical reference.

NetworkLastRegistered

Storage Removed Plain v133 → v306 (removed)

Block when last subnet was registered.

Queried by: subnet ownersdevelopersanalytics

The Big Picture

Combined with NetworkRateLimit, this tells you when the next subnet can be created. If (current_block - NetworkLastRegistered) >= NetworkRateLimit, creation is allowed.

Why This Matters

Can I create a subnet now? Check (current_block - NetworkLastRegistered). If >= NetworkRateLimit, creation is open. Otherwise, wait for the countdown.

Example Scenario

Query NetworkLastRegistered() returns 7000000. Current block is 7005000. Rate limit is 7200. 7005000 - 7000000 = 5000 < 7200. Wait 2200 more blocks (~1.2 hours).

Common Questions

What updates this?
Every successful subnet creation updates this to the current block.
Can I see creation history?
This only tracks the most recent. For history, you'd need an indexer or track NetworkRegisteredAt for each netuid.

Use Cases

  • Check when next subnet creation is allowed
  • Plan subnet launch timing
  • Track network growth rate
  • Build subnet creation countdown tools
  • Research network expansion patterns

Purpose & Usage

Purpose

Track for rate limiting - when was the most recent subnet created.

Common Query Patterns

  • Single value query
  • Calculate when next creation is allowed
  • Monitor network growth pace

Stored Value

Value in RAO (÷10⁹ for TAO)

RAO -> TAO (/ 10^9)

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 NetworkLastRegistered storage (no keys - plain value)
const result = await api.query
  [stringCamelCase("SubtensorModule")]
  [stringCamelCase("NetworkLastRegistered")]();
console.log("NetworkLastRegistered:", result.toHuman());

Runtime Info

View Source
Pallet
SubtensorModule
Storage Kind
Plain
First Version
v133
Removed In
v306