RefundContributorsLimit

Constant v273 → current u32

Limits gas consumption per refund transaction.

Current Value

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

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
v411