MaxProxies

Constant v149 → current u32

Limits proxy delegation complexity.

Current Value

20

From Chain Metadata

The maximum amount of proxies allowed for a single account.

Use Cases

  • Proxy creation

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

Type Information

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

Runtime Info

Pallet
Proxy
First Version
v149
Latest Version
v149
Current Runtime
v393