MinActivityCutoff

Storage Plain v247 → v411

Minimum activity required for neurons to remain registered.

Explore chain
Queried by: validatorsminerssubnet owners

The Big Picture

Subnets can set activity requirements to keep neurons engaged. Neurons that fall below this threshold become candidates for pruning, freeing up slots for more active participants.

Use Cases

  • Check deregistration threshold for a subnet
  • Ensure activity level meets minimum requirements
  • Monitor subnet activity requirements

Purpose & Usage

Purpose

Threshold below which inactive neurons can be deregistered.

Common Query Patterns

  • Query by netuid
  • Check current activity threshold

Stored Value

value (u16)

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

Version History

v247 block 5,109,371 Added
v278–v289 · runtime versions skipped on chain (never deployed)
v290 block 5,947,548 Internal re-bind Current

Runtime Info

View Source
Pallet
SubtensorModule
Storage Kind
Plain
First Version
v247
Current Version
v411