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)
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 MinActivityCutoff storage (no keys - plain value)
const result = await api.query
[stringCamelCase("SubtensorModule")]
[stringCamelCase("MinActivityCutoff")]();
console.log("MinActivityCutoff:", result.toHuman());Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Plain
- First Version
- v247
- Current Version
- v393