Show / Hide Table of Contents

Class CryptoBalance

Represents the balance of a crypto token held by an account.

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: Hiero
Assembly: Hiero.dll
Syntax
public record CryptoBalance : IEquatable<CryptoBalance>

Properties

| Edit this page 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
ulong
| Edit this page View Source

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 Source

implicit 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

Implements

IEquatable<T>
  • Edit this page
  • View Source
In this article
Back to top .NET Client Library for Hiero Network and Hedera Hashgraph