AnnouncementDepositBase

Constant v149 → current u64

Reserve deposit for delayed proxies.

Current Value

0.036 TAO (36000000 raw)

Conversion: ÷ 10^9 (RAO → TAO)

From Chain Metadata

The base amount of currency needed to reserve for creating an announcement. This is held when a new storage item holding a `Balance` is created (typically 16 bytes).

Use Cases

  • Announcement creation

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 AnnouncementDepositBase constant
const value = api.consts[stringCamelCase("Proxy")][stringCamelCase("AnnouncementDepositBase")];
console.log("AnnouncementDepositBase:", 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
0x0051250200000000

Runtime Info

Pallet
Proxy
First Version
v149
Latest Version
v149
Current Runtime
v393