This constant was removed in v150
This constant is no longer available in the current runtime. Existed from v149 to v150. Shown here for historical reference.
Current Value
50From Chain Metadata
The maximum number of holds that can exist on an account at any time.
Use Cases
- Validation checks
- Capacity limits
Value History
| Version | Block | Change | Value |
|---|---|---|---|
| v149 | #3,014,339 | Added | 50 |
| v151 | #3,157,274 | Removed | 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 MaxHolds constant
const value = api.consts[stringCamelCase("Balances")][stringCamelCase("MaxHolds")];
console.log("MaxHolds:", value.toHuman());Type Information
- Type
- u32
- Byte Size
- 4 bytes
- Encoding
- fixed
- Raw Hex
- 0x32000000
Runtime Info
- Pallet
- Balances
- First Version
- v149
- Latest Version
- v150
- Removed In
- v150