$$ \newcommand \Asset {\mathrm{Asa}} $$
Asset Transfer Transaction
Fields
An asset transfer transaction additionally has the following fields:
FIELD | CODEC | TYPE | REQUIRED |
---|---|---|---|
Asset ID | xaid | uint64 | Yes |
Asset Amount | aamt | uint64 | No |
Asset Sender | asnd | address | No |
Asset Receiver | arcv | address | Yes |
Asset Close-to | aclose | address | No |
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