MaxFreezes

Constant v149 → current u32

Limits complexity of frozen balance tracking.

Current Value

50

From Chain Metadata

The maximum number of individual freeze locks that can exist on an account at any time.

Use Cases

  • Freeze operations

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

Type Information

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

Runtime Info

Pallet
Balances
First Version
v149
Latest Version
v149
Current Runtime
v393