Show / Hide Table of Contents

Class NetworkStakeDataExtensions

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

Inheritance
object
NetworkStakeDataExtensions
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 NetworkStakeDataExtensions

Methods

| Edit this page View Source

GetNetworkStakeAsync(MirrorRestClient)

Retrieves the network's current staking parameters and balances via /api/v1/network/stake. Returns a single snapshot covering the in-progress staking period.

Declaration
public static Task<NetworkStakeData?> GetNetworkStakeAsync(this MirrorRestClient client)
Parameters
Type Name Description
MirrorRestClient client

Mirror Rest Client to use for the request.

Returns
Type Description
Task<NetworkStakeData>

The network stake 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