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 { 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 ProxyDepositBase constant
const value = await api.constants.Proxy.ProxyDepositBase();
console.log("ProxyDepositBase:", 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
0x0087930300000000

Runtime Info

Pallet
Proxy
First Version
v149
Latest Version
v149
Current Runtime
v411