ProxyDepositBase

Constant v149 → current u64

Reserve deposit for proxy relationship.

Current Value

0.06 TAO (60000000 raw)

Conversion: ÷ 10^9 (RAO → TAO)

From Chain Metadata

The base amount of currency needed to reserve for creating a proxy. This is held for an additional storage item whose value size is `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.

Use Cases

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

Runtime Info

Pallet
Proxy
First Version
v149
Latest Version
v149
Current Runtime
v393