NumStakingColdkeys

Storage Plain v334 → current

Total count of unique coldkeys with stake .

Explore chain
Queried by: analytics

The Big Picture

High-level metric for network participation. Shows how many unique wallets have active stake positions, indicating ecosystem engagement.

Use Cases

  • Display total staker count
  • Track network participation growth
  • Build ecosystem health dashboards

Purpose & Usage

Purpose

Track unique staker count across the network.

Common Query Patterns

  • Single value query

Stored Value

Value in RAO (÷10⁹ for TAO)

RAO -> TAO (/ 10^9)

Relationships

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

On-Chain Activity

Write Frequency
●●●●●● Ultra-High >10M est. writes

>10M estimated writes

#9 most written storage item

Write Source User Extrinsics

Modified via user-submitted extrinsics

As of block 7,429,232

Runtime Info

View Source
Pallet
SubtensorModule
Storage Kind
Plain
First Version
v334
Current Version
v393