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 { 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 MaxHolds constant
const value = await api.constants.Balances.MaxHolds();
console.log("MaxHolds:", value);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