Show / Hide Table of Contents

Class NetworkSupplyDataExtensions

Extension methods for querying network supply data from the mirror node.

Inheritance
object
NetworkSupplyDataExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public static class NetworkSupplyDataExtensions

Methods

| Edit this page View Source

GetNetworkSupplyAsync(MirrorRestClient, ConsensusTimeStamp?)

Retrieves the network's HBAR supply totals at or before the given consensus timestamp. When consensus is null, returns the most recent values.

Declaration
public static Task<NetworkSupplyData?> GetNetworkSupplyAsync(this MirrorRestClient client, ConsensusTimeStamp? consensus = null)
Parameters
Type Name Description
MirrorRestClient client

Mirror Rest Client to use for the request.

ConsensusTimeStamp? consensus

Optional consensus timestamp — returns the supply state as of timestamp=lte:{consensus}. Leave null for the latest values.

Returns
Type Description
Task<NetworkSupplyData>

The network supply data, or null if not found.

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