This constant was removed in v247

This constant is no longer available in the current runtime. Existed from v195 to v247. Shown here for historical reference.

InitialNetworkMaxStake

Constant Removed v195 → v247 (removed) u64

Runtime configuration value.

Current Value

18,446,744,073.709553 TAO (18446744073709551615 raw)

Conversion: ÷ 10^9 (RAO → TAO)

From Chain Metadata

Initial network max stake.

Use Cases

  • Genesis configuration
  • Default value initialization
  • Validation checks
  • Capacity limits

Value History

VersionBlockChangeValue
v195#3,791,350Added18,446,744,073.709553 TAO
v252#5,163,656Removed18,446,744,073.709553 TAO

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 InitialNetworkMaxStake constant
const value = await api.constants.SubtensorModule.InitialNetworkMaxStake();
console.log("InitialNetworkMaxStake:", value);
// Balance: divide by 10^9 for TAO
const tao = value / 1_000_000_000n;

Type Information

Type
u64
Byte Size
8 bytes
Encoding
fixed
Raw Hex
0xffffffffffffffff

Runtime Info

Pallet
SubtensorModule
First Version
v195
Latest Version
v247
Removed In
v247