Show / Hide Table of Contents

Class FeeSchedulesExtensions

Extension methods for retrieving fee schedule information from the network.

Inheritance
object
FeeSchedulesExtensions
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 static class FeeSchedulesExtensions

Methods

| Edit this page View Source

GetFeeScheduleAsync(ConsensusClient, CancellationToken, Action<IConsensusContext>?)

Retrieves the metrics for calculating fees from the network.

Declaration
public static Task<FeeSchedules> GetFeeScheduleAsync(this ConsensusClient client, CancellationToken cancellationToken = default, Action<IConsensusContext>? configure = null)
Parameters
Type Name Description
ConsensusClient client

Consensus Client to query

CancellationToken cancellationToken

Optional cancellation token.

Action<IConsensusContext> configure

Optional callback method providing an opportunity to modify the execution configuration for just this method call. It is executed prior to submitting the request to the network.

Returns
Type Description
Task<FeeSchedules>

The structure representing the metrics of the Network's Fee Schedule.

Remarks

NOTE: this method incurs a charge to retrieve the file from the network.

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