Creates a new TransactionAssetTransfer
object.
Optional
closeOptional
closeOptional
sender?: string(aamt) Amount of asset to transfer. A zero amount transferred to self allocates that asset in the account's Assets map.
(xaid) ID of the asset being transferred.
Optional
closeNumber of assets transfered to the close-to account as part of the transaction.
Optional
close(aclose) Indicates that the asset should be removed from the account's Assets map, and specifies where the remaining asset holdings should be transferred. It's always valid to transfer remaining asset holdings to the creator account.
(arcv) Recipient address of the transfer.
Optional
sender(asnd) The effective sender during a clawback transactions. If this is not a zero value, the real transaction sender must be the Clawback address from the AssetParams.
Get an object ready for encoding to either JSON or msgpack.
Use true to indicate that the encoding can handle raw binary objects (Uint8Arrays). Use false to indicate that raw binary objects should be converted to base64 strings. True should be used for objects that will be encoded with msgpack, and false should be used for objects that will be encoded with JSON.
Static
from_Generated using TypeDoc
Fields for an asset transfer transaction. Definition: data/transactions/asset.go : AssetTransferTxnFields