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 { createClient, Binary } from "polkadot-api";
import { getWsProvider } from "polkadot-api/ws";
import { sub } from "@polkadot-api/descriptors"; // generated by: npx papi add sub -w wss://entrypoint-finney.opentensor.ai:443

const client = createClient(getWsProvider("wss://entrypoint-finney.opentensor.ai:443"));
const api = client.getTypedApi(sub);

// Query AnnouncementDepositFactor constant
const value = await api.constants.Proxy.AnnouncementDepositFactor();
console.log("AnnouncementDepositFactor:", value);
// Balance: divide by 10^9 for TAO
const tao = value / 1_000_000_000n;

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
v411