Class TransactionAssetTransfer
- java.lang.Object
-
- com.algorand.algosdk.v2.client.common.PathResponse
-
- com.algorand.algosdk.v2.client.model.TransactionAssetTransfer
-
public class TransactionAssetTransfer extends PathResponse
Fields for an asset transfer transaction. Definition: data/transactions/asset.go : AssetTransferTxnFields
-
-
Field Summary
Fields Modifier and Type Field Description BigInteger
amount
(aamt) Amount of asset to transfer.Long
assetId
(xaid) ID of the asset being transferred.BigInteger
closeAmount
Number of assets transferred to the close-to account as part of the transaction.String
closeTo
(aclose) Indicates that the asset should be removed from the account's Assets map, and specifies where the remaining asset holdings should be transferred.String
receiver
(arcv) Recipient address of the transfer.String
sender
(asnd) The effective sender during a clawback transactions.
-
Constructor Summary
Constructors Constructor Description TransactionAssetTransfer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
-
Methods inherited from class com.algorand.algosdk.v2.client.common.PathResponse
toString
-
-
-
-
Field Detail
-
amount
public BigInteger amount
(aamt) Amount of asset to transfer. A zero amount transferred to self allocates that asset in the account's Assets map.
-
assetId
public Long assetId
(xaid) ID of the asset being transferred.
-
closeAmount
public BigInteger closeAmount
Number of assets transferred to the close-to account as part of the transaction.
-
closeTo
public String closeTo
(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
public String receiver
(arcv) Recipient address of the transfer.
-
sender
public String 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.
-
-