This storage item was removed in v165

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

BaseDifficulty

Storage Removed Plain v161 → v165 (removed)

BaseDifficulty storage from SubtensorModule pallet .

Purpose & Usage

Purpose

Stores chain state data.

Common Query Patterns

  • Query by key
  • Iterate all entries

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

Runtime Info

View Source
Pallet
SubtensorModule
Storage Kind
Plain
First Version
v161
Removed In
v165