Current Value
500Relevant for: developersstakers
The Big Picture
Hard limit on campaign participants.
Use Cases
- Design campaign capacity
- Monitor contribution count
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 MaxContributors constant
const value = await api.constants.Crowdloan.MaxContributors();
console.log("MaxContributors:", value);Type Information
- Type
- u32
- Byte Size
- 4 bytes
- Encoding
- fixed
- Raw Hex
- 0xf4010000
Runtime Info
- Pallet
- Crowdloan
- First Version
- v273
- Latest Version
- v273
- Current Runtime
- v411