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

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
v393