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

Runtime Info

Pallet
Proxy
First Version
v149
Latest Version
v149
Current Runtime
v393