AnnouncementDepositFactor

Constant v149 → current u64

Additional deposit based on call size.

Current Value

0.068 TAO (68000000 raw)

Conversion: ÷ 10^9 (RAO → TAO)

From Chain Metadata

The amount of currency needed per announcement made. This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes) into a pre-existing storage value.

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

Runtime Info

Pallet
Proxy
First Version
v149
Latest Version
v149
Current Runtime
v393