Class ExtendedContractLogDataExtensions
Extension methods for querying contract log data from the mirror node.
Inherited Members
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public static class ExtendedContractLogDataExtensions
Methods
| Edit this page View SourceGetLogEventsForAllContractsAsync(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. |
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. |