MaxReserves

Constant Re-added v101 → v148, v149 → current u32

Limits complexity of reserved balance tracking.

Current Value

50

From Chain Metadata

The maximum number of named reserves that can exist on an account.

Use Cases

  • Reserve operations

Value History

VersionBlockChangeValue
v101#1Added0
v149#3,014,339Changed0 → 50

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

Type Information

Type
u32
Byte Size
4 bytes
Encoding
fixed
Raw Hex
0x32000000

Version History

v101 block 1 Added
v149 block 3,014,339 Re-added Current

Runtime Info

Pallet
Balances
First Version
v101
Latest Version
v101
Current Runtime
v393