Class CryptoBalance
Represents the balance of a crypto token held by an account.
Implements
Inherited Members
Namespace: Hiero
Assembly: Hiero.dll
Syntax
public record CryptoBalance : IEquatable<CryptoBalance>
Properties
| Edit this page View SourceBalance
The balance of crypto tokens held by the associated account in the smallest denomination.
Declaration
public ulong Balance { get; }
Property Value
| Type | Description |
|---|---|
| ulong |
Decimals
The number of decimal places which each token may be subdivided.
Declaration
public uint Decimals { get; }
Property Value
| Type | Description |
|---|---|
| uint |
Operators
| Edit this page View Sourceimplicit operator ulong(CryptoBalance)
Convenience operator returning the value of the balance in the smallest denomination.
Declaration
public static implicit operator ulong(CryptoBalance cryptoBalance)
Parameters
| Type | Name | Description |
|---|---|---|
| CryptoBalance | cryptoBalance | The balance to retrieve the balance value from. |
Returns
| Type | Description |
|---|---|
| ulong |