ProxyDepositFactor

Constant v149 → current u64

Deposit scales with proxy count.

Current Value

0.033 TAO (33000000 raw)

Conversion: ÷ 10^9 (RAO → TAO)

From Chain Metadata

The amount of currency needed per proxy added. This is held for adding 32 bytes plus an instance of `ProxyType` more into a pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take into account `32 + proxy_type.encode().len()` bytes of data.

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

Runtime Info

Pallet
Proxy
First Version
v149
Latest Version
v149
Current Runtime
v411