MinActivityCutoff
Storage Plain v247 → currentMinimum activity required for neurons to remain registered.
Explore chainQueried 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)
Default Value
360 0x6801
Absent keys read as this value — querying a key that has never been written returns this default, not an error or empty result.
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);Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Plain
- First Version
- v247
- Current Version
- v490