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
    java.math.BigInteger amount
    (aamt) Amount of asset to transfer.
    java.lang.Long assetId
    (xaid) ID of the asset being transferred.
    java.math.BigInteger closeAmount
    Number of assets transfered to the close-to account as part of the transaction.
    java.lang.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.
    java.lang.String receiver
    (arcv) Recipient address of the transfer.
    java.lang.String sender
    (asnd) The effective sender during a clawback transactions.
  • Constructor Summary

    Constructors
    Constructor Description
    TransactionAssetTransfer()  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object o)  

    Methods inherited from class com.algorand.algosdk.v2.client.common.PathResponse

    toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • amount

      public java.math.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 java.lang.Long assetId
      (xaid) ID of the asset being transferred.
    • closeAmount

      public java.math.BigInteger closeAmount
      Number of assets transfered to the close-to account as part of the transaction.
    • closeTo

      public java.lang.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 java.lang.String receiver
      (arcv) Recipient address of the transfer.
    • sender

      public java.lang.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.
  • Constructor Details

    • TransactionAssetTransfer

      public TransactionAssetTransfer()
  • Method Details

    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object