Show / Hide Table of Contents

Class ExtendedContractLogDataExtensions

Extension methods for querying contract log data from the mirror node.

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

Methods

| Edit this page View Source

GetLogEventsForAllContractsAsync(MirrorRestClient, params IMirrorQueryFilter[])

Retrieves the log events for all contracts satisfying the filters.

Declaration
public static IAsyncEnumerable<ExtendedContractLogData> GetLogEventsForAllContractsAsync(this MirrorRestClient client, params IMirrorQueryFilter[] filters)
Parameters
Type Name Description
MirrorRestClient client

Mirror Rest Client to use for the request.

IMirrorQueryFilter[] filters

Additional filters

Returns
Type Description
IAsyncEnumerable<ExtendedContractLogData>

An async enumerable of contract log events meeting the given criteria.

| Edit this page View Source

GetLogEventsForContractAsync(MirrorRestClient, EntityId, params IMirrorQueryFilter[])

Retrieves the log events for a contract

Declaration
public static IAsyncEnumerable<ExtendedContractLogData> GetLogEventsForContractAsync(this MirrorRestClient client, EntityId contract, params IMirrorQueryFilter[] filters)
Parameters
Type Name Description
MirrorRestClient client

Mirror Rest Client to use for the request.

EntityId contract

The entityId of the contract

IMirrorQueryFilter[] filters

Additional query filters if desired.

Returns
Type Description
IAsyncEnumerable<ExtendedContractLogData>

An async enumerable of contract log events meeting the given criteria.

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