Skip to content

TransactionAssetTransfer

TransactionAssetTransfer: object

Fields for an asset transfer transaction.

Definition: data/transactions/asset.go : AssetTransferTxnFields

Type declaration

amount

amount: number

[aamt] Amount of asset to transfer. A zero amount transferred to self allocates that asset in the account’s Assets map.

asset-id

asset-id: number

[xaid] ID of the asset being transferred.

close-amount?

optional close-amount: number

Number of assets transferred to the close-to account as part of the transaction.

close-to?

optional close-to: string

[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.

receiver

receiver: string

[arcv] Recipient address of the transfer.

sender?

optional sender: string

[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.

Defined in

types.gen.ts:1113