TxRateLimit

Storage Plain v101 → v411

General transaction rate limit .

Explore chain
Queried by: developerswallets

The Big Picture

General rate limit for certain transactions. Prevents spam and ensures fair access to block space.

Use Cases

  • Understand transaction limits
  • Plan transaction batching
  • Build rate-aware tools

From Chain Metadata

ITEM ( tx_rate_limit )

Purpose & Usage

Purpose

Control transaction frequency network-wide.

Common Query Patterns

  • Single value query

Stored Value

tx_rate_limit (u64)

RAO -> TAO (/ 10^9)

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 TxRateLimit storage (no keys - plain value)
const result = await api.query.SubtensorModule.TxRateLimit.getValue();
console.log("TxRateLimit:", result);

Version History

v101 block 1 Added
v166–v194 · runtime versions skipped on chain (never deployed)
v195 block 3,791,350 Internal re-bind Current

Runtime Info

View Source
Pallet
SubtensorModule
Storage Kind
Plain
First Version
v101
Current Version
v411