Limits gas consumption per refund transaction.
Current Value
50Relevant for: developers
The Big Picture
Batching limit for refund operations.
From Chain Metadata
The maximum number of contributors that can be refunded in a single refund.
Use Cases
- Estimate refund calls needed
- Plan refund process
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 RefundContributorsLimit constant
const value = api.consts[stringCamelCase("Crowdloan")][stringCamelCase("RefundContributorsLimit")];
console.log("RefundContributorsLimit:", value.toHuman());Type Information
- Type
- u32
- Byte Size
- 4 bytes
- Encoding
- fixed
- Raw Hex
- 0x32000000
Runtime Info
- Pallet
- Crowdloan
- First Version
- v273
- Latest Version
- v273
- Current Runtime
- v393