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 { 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 InitialNetworkMaxStake constant
const value = api.consts[stringCamelCase("SubtensorModule")][stringCamelCase("InitialNetworkMaxStake")];
console.log("InitialNetworkMaxStake:", value.toHuman());

// Convert RAO to TAO if this is a balance value
const taoValue = value.toBigInt() / BigInt(1e9);
console.log("TAO:", taoValue.toString());

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