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

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