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

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
v411