Class AssetHolding

java.lang.Object
com.algorand.algosdk.v2.client.common.PathResponse
com.algorand.algosdk.v2.client.model.AssetHolding

public class AssetHolding
extends PathResponse
Describes an asset held by an account. Definition: data/basics/userBalance.go : AssetHolding
  • Field Summary

    Fields
    Modifier and Type Field Description
    java.math.BigInteger amount
    (a) number of units held.
    java.lang.Long assetId
    Asset ID of the holding.
    java.lang.Boolean deleted
    Whether or not the asset holding is currently deleted from its account.
    java.lang.Boolean isFrozen
    (f) whether or not the holding is frozen.
    java.math.BigInteger optedInAtRound
    Round during which the account opted into this asset holding.
    java.math.BigInteger optedOutAtRound
    Round during which the account opted out of this asset holding.
  • Constructor Summary

    Constructors
    Constructor Description
    AssetHolding()  
  • 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
      (a) number of units held.
    • assetId

      public java.lang.Long assetId
      Asset ID of the holding.
    • deleted

      public java.lang.Boolean deleted
      Whether or not the asset holding is currently deleted from its account.
    • isFrozen

      public java.lang.Boolean isFrozen
      (f) whether or not the holding is frozen.
    • optedInAtRound

      public java.math.BigInteger optedInAtRound
      Round during which the account opted into this asset holding.
    • optedOutAtRound

      public java.math.BigInteger optedOutAtRound
      Round during which the account opted out of this asset holding.
  • Constructor Details

    • AssetHolding

      public AssetHolding()
  • Method Details

    • equals

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