MaximumWeight

Constant v133 → current Weight

Limits scheduled call complexity.

Current Value

0x0b0000dd0ee90213cccccccccccccccc

From Chain Metadata

The maximum weight that may be scheduled per block for any dispatchables.

Use Cases

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

Type Information

Type
Weight
Byte Size
8 bytes
Encoding
fixed
Raw Hex
0x0b0000dd0ee90213cc...

Runtime Info

Pallet
Scheduler
First Version
v133
Latest Version
v133
Current Runtime
v411