TransactionAssetTransfer
TransactionAssetTransfer =
object
Defined in: packages/indexer_client/src/models/transaction-asset-transfer.ts:10
Fields for an asset transfer transaction.
Definition: data/transactions/asset.go : AssetTransferTxnFields
Properties
Section titled “Properties”amount
Section titled “amount”amount:
bigint
Defined in: packages/indexer_client/src/models/transaction-asset-transfer.ts:14
[aamt] Amount of asset to transfer. A zero amount transferred to self allocates that asset in the account’s Assets map.
assetId
Section titled “assetId”assetId:
bigint
Defined in: packages/indexer_client/src/models/transaction-asset-transfer.ts:19
[xaid] ID of the asset being transferred.
closeAmount?
Section titled “closeAmount?”
optionalcloseAmount:bigint
Defined in: packages/indexer_client/src/models/transaction-asset-transfer.ts:24
Number of assets transferred to the close-to account as part of the transaction.
closeTo?
Section titled “closeTo?”
optionalcloseTo:string
Defined in: packages/indexer_client/src/models/transaction-asset-transfer.ts:29
[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
Section titled “receiver”receiver:
string
Defined in: packages/indexer_client/src/models/transaction-asset-transfer.ts:34
[arcv] Recipient address of the transfer.
sender?
Section titled “sender?”
optionalsender:string
Defined in: packages/indexer_client/src/models/transaction-asset-transfer.ts:39
[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.