Ensures campaigns give contributors time to participate.
Current Value
50400Relevant for: developersstakers
The Big Picture
Campaigns must run at least this long.
From Chain Metadata
The minimum block duration for a crowdloan.
Use Cases
- Calculate valid end blocks
- Plan campaign timeline
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 MinimumBlockDuration constant
const value = api.consts[stringCamelCase("Crowdloan")][stringCamelCase("MinimumBlockDuration")];
console.log("MinimumBlockDuration:", value.toHuman());Type Information
- Type
- u32
- Byte Size
- 4 bytes
- Encoding
- fixed
- Raw Hex
- 0xe0c40000
Runtime Info
- Pallet
- Crowdloan
- First Version
- v273
- Latest Version
- v273
- Current Runtime
- v393