Creates unique accounts for each crowdloan to hold funds securely.
Current Value
0x62742f636c6f616eRelevant for: developers
The Big Picture
Each crowdloan has its own derived account for trustless fund custody.
From Chain Metadata
The pallet id that will be used to derive crowdloan account ids.
Use Cases
- Calculate crowdloan fund address
- Verify fund custody
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 PalletId constant
const value = api.consts[stringCamelCase("Crowdloan")][stringCamelCase("PalletId")];
console.log("PalletId:", value.toHuman());Type Information
- Type
- PalletId
- Byte Size
- variable bytes
- Encoding
- composite
- Raw Hex
- 0x62742f636c6f616e
Runtime Info
- Pallet
- Crowdloan
- First Version
- v273
- Latest Version
- v273
- Current Runtime
- v393