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 BigInteger
amount
number of units held.Long
assetId
Asset ID of the holding.Boolean
deleted
Whether or not the asset holding is currently deleted from its account.Boolean
isFrozen
whether or not the holding is frozen.BigInteger
optedInAtRound
Round during which the account opted into this asset holding.BigInteger
optedOutAtRound
Round during which the account opted out of this asset holding.
-
Constructor Summary
Constructors Constructor Description AssetHolding()
-
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
number of units held.
-
assetId
public Long assetId
Asset ID of the holding.
-
deleted
public Boolean deleted
Whether or not the asset holding is currently deleted from its account.
-
isFrozen
public Boolean isFrozen
whether or not the holding is frozen.
-
optedInAtRound
public BigInteger optedInAtRound
Round during which the account opted into this asset holding.
-
optedOutAtRound
public BigInteger optedOutAtRound
Round during which the account opted out of this asset holding.
-
-