Show / Hide Table of Contents

Class ScheduleDataExtensions

Extension methods for querying schedule data from the mirror node.

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

Methods

| Edit this page View Source

GetScheduleAsync(MirrorRestClient, EntityId)

Retrieves a single schedule entity by id from /api/v1/schedules/{id}.

Declaration
public static Task<ScheduleData?> GetScheduleAsync(this MirrorRestClient client, EntityId schedule)
Parameters
Type Name Description
MirrorRestClient client

Mirror Rest Client to use for the request.

EntityId schedule

The schedule entity id to look up.

Returns
Type Description
Task<ScheduleData>

The schedule record, or null if not found.

| Edit this page View Source

GetSchedulesAsync(MirrorRestClient, params IMirrorQueryParameter[])

Enumerates schedule entities across the network. Use AccountFilter to narrow to a specific creator or payer, ScheduleFilter for a specific schedule id (or range), or PageLimit / OrderBy for paging.

Declaration
public static IAsyncEnumerable<ScheduleData> GetSchedulesAsync(this MirrorRestClient client, params IMirrorQueryParameter[] filters)
Parameters
Type Name Description
MirrorRestClient client

Mirror Rest Client to use for the request.

IMirrorQueryParameter[] filters

Additional query filters. The endpoint supports AccountFilter, ScheduleFilter, PageLimit, and OrderBy.

Returns
Type Description
IAsyncEnumerable<ScheduleData>

An async enumerable of schedule records.

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