Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

$$ \newcommand \Asset {\mathrm{Asa}} $$

Asset Transfer Transaction

Fields

An asset transfer transaction additionally has the following fields:

FIELDCODECTYPEREQUIRED
Asset IDxaiduint64Yes
Asset Amountaamtuint64No
Asset SenderasndaddressNo
Asset ReceiverarcvaddressYes
Asset Close-toacloseaddressNo

Asset ID

The asset ID \( \Asset_\mathrm{xfer,ID} \) identifies the asset being transferred.

Asset Amount

The asset amount \( \Asset_a \) (OPTIONAL) indicates the number of asset units being transferred.

If the asset amount is omitted (\( \Asset_a = 0 \)), the number of asset units transferred is zero.

Asset Sender

The asset sender \( \Asset_I \) (OPTIONAL) identifies the source address for the asset transfer (non-zero if the transaction is a clawback).

If the asset sender is omitted (\( \Asset_I = 0 \)), the source address of the asset transfer is the sender of the transaction.

Asset Receiver

The asset receiver \( \Asset_{I^\prime} \) identifies the destination address for the asset transfer.

Asset Close-to Address

The asset close to address \( \Asset_{I_0}\) (OPTIONAL) collects all remaining asset units in the sender account after the asset transfer.

If the asset close to address is omitted (\( \Asset_{I_0}\)), the field has no effect.

Semantic

TODO

Validation

TODO