MaxSpace
Storage Plain v257 → currentMaximum commitment space per account per rate limit interval.
Explore chainQueried by: validatorsminersdevelopers
The Big Picture
This is the network-wide limit on commitment size per account per interval.
Use Cases
- Determine maximum commitment size allowed
- Calculate remaining space for an account
Purpose & Usage
Purpose
Global configuration for commitment size limits.
Common Query Patterns
- Query to check current limit
Stored Value
value (u32)
Relationships
Modified By
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 MaxSpace storage (no keys - plain value)
const result = await api.query
[stringCamelCase("Commitments")]
[stringCamelCase("MaxSpace")]();
console.log("MaxSpace:", result.toHuman());Runtime Info
View Source- Pallet
- Commitments
- Storage Kind
- Plain
- First Version
- v257
- Current Version
- v393