Current Value
500Relevant for: developersstakers
The Big Picture
Hard limit on campaign participants.
Use Cases
- Design campaign capacity
- Monitor contribution count
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 MaxContributors constant
const value = api.consts[stringCamelCase("Crowdloan")][stringCamelCase("MaxContributors")];
console.log("MaxContributors:", value.toHuman());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
- v393