MinimumDeposit

Constant v273 → current u64

Prevents spam crowdloans and ensures creator has skin in the game.

Current Value

10.00 TAO (10000000000 raw)

Conversion: ÷ 10^9 (RAO → TAO)

Relevant for: developersstakers

The Big Picture

Barrier to entry ensures serious projects only.

From Chain Metadata

The minimum deposit required to create a crowdloan.

Use Cases

  • Budget for crowdloan creation
  • Validate before creating

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 MinimumDeposit constant
const value = api.consts[stringCamelCase("Crowdloan")][stringCamelCase("MinimumDeposit")];
console.log("MinimumDeposit:", value.toHuman());

// Convert RAO to TAO if this is a balance value
const taoValue = value.toBigInt() / BigInt(1e9);
console.log("TAO:", taoValue.toString());

Type Information

Type
u64
Byte Size
8 bytes
Encoding
fixed
Raw Hex
0x00e40b5402000000

Runtime Info

Pallet
Crowdloan
First Version
v273
Latest Version
v273
Current Runtime
v393