Class CryptoBalance
Implements
Inherited Members
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public class CryptoBalance : IEquatable<CryptoBalance>
Properties
| Improve this Doc 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 |
---|---|
UInt64 |
Decimals
The number of decimal places which each token may be subdivided.
Declaration
public uint Decimals { get; }
Property Value
Type | Description |
---|---|
UInt32 |
Operators
| Improve this Doc View SourceImplicit(CryptoBalance to UInt64)
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 |
---|---|
UInt64 |