transfer_allow_death
Call v149 → v424, v432 → current #0Transfers TAO allowing sender account to be reaped.
View calls on chainCall Workflow
Click items to navigate. Pan and zoom to explore.
From Chain Metadata
Transfer some liquid free balance to another account. `transfer_allow_death` will set the `FreeBalance` of the sender and receiver. If the sender's account is below the existential deposit as a result of the transfer, the account will be reaped. The dispatch origin for this call must be `Signed` by the transactor.
Migration Notes
value changed from Compact<u64> to Compact<TaoBalance>
Update decoders: SCALE encoding is positional, so any signature change (added, removed, or type-changed fields, or storage shape changes) shifts byte offsets and existing decoders will misparse this item. Re-derive types from the new metadata.
Input Parameters
| # | Name | Type | Description |
|---|---|---|---|
| 0 | dest | MultiAddress AccountIdLookupOf<T> | Recipient account address |
| 1 | value | Compact<TaoBalance> Cpt T::Balance | Amount to transfer (RAO, ÷10⁹ for TAO) (SCALE compact -> integer) |
Permissions
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: 2 args below have a complex type with no usable default.
// Look for `undefined as any` and replace them with real values
// 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 = undefined as any /* TaoBalance — replace with real value */;
const tx = api.tx.Balances.transfer_allow_death({
dest,
value,
});On-Chain Activity
Primary protocol calls
#18 most used call
80–95% of submissions succeed
As of block 9,385,000
Version History
Runtime Info
- Pallet Index
- 5
- Call Index
- 0
- First Version
- v149
- Current Version
- v490