Class AccountBalancesData
Structure identifying the hBar balance for an associated account and the balances of a limited number of tokens held by the account.
Inherited Members
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public class AccountBalancesData
Remarks
NOTE this structure may not provide the entire listing of tokens held by the associated account. The mirror node caps the token list (HIP-367): at most 1000 entries for a single account lookup and at most 50 per account in an account listing.
Properties
| Edit this page View SourceBalance
Crypto balance in tinybars.
Declaration
[JsonPropertyName("balance")]
[JsonConverter(typeof(LongMirrorConverter))]
public long Balance { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
TimeStamp
Timestamp corresponding to this balance snapshot.
Declaration
[JsonPropertyName("timestamp")]
public ConsensusTimeStamp TimeStamp { get; set; }
Property Value
| Type | Description |
|---|---|
| ConsensusTimeStamp |
Tokens
Listing of token balance values for the associated account, capped by the mirror node (see remarks).
Declaration
[JsonPropertyName("tokens")]
public TokenBalanceData[] Tokens { get; set; }
Property Value
| Type | Description |
|---|---|
| TokenBalanceData[] |