This constant was removed in v219

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

RateLimit

Constant Removed v140 → v219 (removed) u32

Runtime configuration value.

Current Value

100

Use Cases

  • Validation checks
  • Capacity limits

Value History

VersionBlockChangeValue
v140#1,929,216Added100
v233#4,920,350Removed100

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

Type Information

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

Runtime Info

Pallet
Commitments
First Version
v140
Latest Version
v219
Removed In
v219