This storage item was removed in v326

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

PendingRootDivs

Storage Removed Map v233 → v411

--- MAP ( netuid ) --> pending_root_emission

From Chain Metadata

MAP ( netuid ) --> pending_root_emission

Purpose & Usage

Purpose

Stores chain state data.

Common Query Patterns

  • Query by key
  • Iterate all entries

Query Keys

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

Stored Value

pending_root_emission (u64)

RAO -> TAO (/ 10^9)

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

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

Version History

v233 block 4,920,350 Added
v278–v289 · runtime versions skipped on chain (never deployed)
v290 block 5,947,548 Internal re-bind
v326 Removed

Runtime Info

View Source
Pallet
SubtensorModule
Storage Kind
Map
First Version
v233
Removed In
v326