Class TokenHoldingData
Represents a detailed holding of a token by an account.
Inherited Members
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public class TokenHoldingData
Properties
| Edit this page View SourceAutoAssociated
Was this token holding a result of an automatic association.
Declaration
[JsonPropertyName("automatic_association")]
[JsonConverter(typeof(BooleanMirrorConverter))]
public bool AutoAssociated { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Balance
The account's balance of the token: for a fungible token, in its smallest unit (not scaled by its decimals); for an NFT class, the number of NFTs held.
Declaration
[JsonPropertyName("balance")]
[JsonConverter(typeof(LongMirrorConverter))]
public long Balance { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Created
The date when this holding was established.
Declaration
[JsonPropertyName("created_timestamp")]
public ConsensusTimeStamp Created { get; set; }
Property Value
| Type | Description |
|---|---|
| ConsensusTimeStamp |
Decimals
The number of decimal places the token divides into, the scale of Balance.
Declaration
[JsonPropertyName("decimals")]
[JsonConverter(typeof(IntMirrorConverter))]
public int Decimals { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
FreezeStatus
Status of the token related to freezing (if applicable)
Declaration
[JsonPropertyName("freeze_status")]
[JsonConverter(typeof(FreezeStatusConverter))]
public TokenTradableStatus FreezeStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| TokenTradableStatus |
KycStatus
Status of the KYC status of the holding (if applicable)
Declaration
[JsonPropertyName("kyc_status")]
[JsonConverter(typeof(TokenKycStatusConverter))]
public TokenKycStatus KycStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| TokenKycStatus |
Token
The address of the token.
Declaration
[JsonPropertyName("token_id")]
public EntityId Token { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |