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.

InitialNetworkMinAllowedUids

Constant Removed v133 → v315 (removed) u16

Runtime configuration value.

Current Value

128

Use Cases

  • Genesis configuration
  • Default value initialization
  • Minimum threshold checks

Value History

VersionBlockChangeValue
v133#1,404,224Added128
v320#6,523,566Removed128

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 InitialNetworkMinAllowedUids constant
const value = await api.constants.SubtensorModule.InitialNetworkMinAllowedUids();
console.log("InitialNetworkMinAllowedUids:", value);

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