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

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
v411