MaxPending

Constant v149 → current u32

Limits proxy announcement queue.

Current Value

75

From Chain Metadata

The maximum amount of time-delayed announcements that are allowed to be pending.

Use Cases

  • Proxy operations

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

Type Information

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

Runtime Info

Pallet
Proxy
First Version
v149
Latest Version
v149
Current Runtime
v411