This constant was removed in v315
This constant is no longer available in the current runtime. Existed from v133 to v315. Shown here for historical reference.
Runtime configuration value.
Current Value
128Use Cases
- Genesis configuration
- Default value initialization
- Minimum threshold checks
Value History
| Version | Block | Change | Value |
|---|---|---|---|
| v133 | #1,404,224 | Added | 128 |
| v320 | #6,523,566 | Removed | 128 |
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 InitialNetworkMinAllowedUids constant
const value = api.consts[stringCamelCase("SubtensorModule")][stringCamelCase("InitialNetworkMinAllowedUids")];
console.log("InitialNetworkMinAllowedUids:", value.toHuman());Type Information
- Type
- u16
- Byte Size
- 2 bytes
- Encoding
- fixed
- Raw Hex
- 0x8000
Runtime Info
- Pallet
- SubtensorModule
- First Version
- v133
- Latest Version
- v315
- Removed In
- v315