This constant was removed in v265

This constant is no longer available in the current runtime. Existed from v233 to v265. Shown here for historical reference.

DefaultRateLimit

Constant Removed v233 → v265 (removed) u32

Runtime configuration value.

Current Value

100

From Chain Metadata

The rate limit for commitments

Use Cases

  • Validation checks
  • Capacity limits

Value History

VersionBlockChangeValue
v233#4,920,350Added100
v273#5,659,032Removed100

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

Type Information

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

Runtime Info

Pallet
Commitments
First Version
v233
Latest Version
v265
Removed In
v265