Show / Hide Table of Contents

Class CryptoBalance

Inheritance
Object
CryptoBalance
TokenBalance
Implements
IEquatable<CryptoBalance>
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public class CryptoBalance : IEquatable<CryptoBalance>

Properties

| Improve this Doc View Source

Balance

The balance of crypto tokens held by the associated account in the smallest denomination.

Declaration
public ulong Balance { get; }
Property Value
Type Description
UInt64
| Improve this Doc View Source

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 Source

Implicit(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

Implements

System.IEquatable<T>
  • Improve this Doc
  • View Source
In This Article
Back to top .NET Client Library for Hedera Hashgraph