transfer_allow_death

Call v149 → current #0

Transfers TAO allowing sender account to be reaped.

View calls on chain

Click items to navigate. Pan and zoom to explore.

From Chain Metadata

See [`Pallet::transfer_allow_death`].

Input Parameters

#NameTypeDescription
0
dest
MultiAddress AccountIdLookupOf<T>Recipient account address
1
value
Compact<u64> Cpt T::BalanceAmount to transfer (RAO, ÷10⁹ for TAO) (RAO -> TAO (/ 10^9))

Permissions

Origin
Unknown
Required Role

Requirements

  • Sender has sufficient free balance
  • Recipient account can receive funds

Effects

Events Emitted

Storage Modified

Postconditions

  • Sender balance decreased by amount
  • Recipient balance increased by amount
  • Sender account may be removed if balance below ED

Side Effects

  • May create recipient account if new
  • May kill sender account
  • Transaction fees deducted from sender

Code Examples

// ----------------------------------------------------------------------
// HEADS UP: 1 arg below has a complex type with no usable default.
// Look for `undefined as any` and replace it with real value
// before running — the snippet compiles, but will fail at runtime as-is.
// ----------------------------------------------------------------------
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);

// Build transfer_allow_death call (typed, named args)
const dest = undefined as any /* MultiAddress — replace with real value */;
const value = 0n;

const tx = api.tx.Balances.transfer_allow_death({
  dest,
  value,
});

On-Chain Activity

Usage Frequency
●●●●●○ Core 1M–10M extrinsics

Primary protocol calls

#14 most used call

Success Rate Reliable

80–95% of submissions succeed

As of block 7,429,232

Runtime Info

Pallet Index
5
Call Index
0
First Version
v149
Current Version
v411