Show / Hide Table of Contents

Class ContractActionDataExtensions

Extension methods exposing the mirror node's contract-action endpoint.

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

Methods

| Edit this page View Source

GetContractActionsByTransactionHashAsync(MirrorRestClient, EvmHash, params IMirrorQueryParameter[])

Retrieves the ordered call graph of a historical contract transaction, identified by its EVM transaction hash.

Declaration
public static IAsyncEnumerable<ContractActionData> GetContractActionsByTransactionHashAsync(this MirrorRestClient client, EvmHash evmTransactionHash, params IMirrorQueryParameter[] filters)
Parameters
Type Name Description
MirrorRestClient client

Mirror Rest Client to use for the request.

EvmHash evmTransactionHash

The EVM transaction hash (not to be confused with the raw HAPI transaction hash).

IMirrorQueryParameter[] filters

Optional filters — ContractActionIndexFilter for narrowing the action position, plus the standard PageLimit / OrderBy paging directives.

Returns
Type Description
IAsyncEnumerable<ContractActionData>

The sequence of contract actions for the transaction; empty if the transaction has no recorded actions or was not found.

| Edit this page View Source

GetContractActionsByTransactionIdAsync(MirrorRestClient, TransactionId, params IMirrorQueryParameter[])

Retrieves the ordered call graph of a historical contract transaction, identified by its HAPI transaction id.

Declaration
public static IAsyncEnumerable<ContractActionData> GetContractActionsByTransactionIdAsync(this MirrorRestClient client, TransactionId transactionId, params IMirrorQueryParameter[] filters)
Parameters
Type Name Description
MirrorRestClient client

Mirror Rest Client to use for the request.

TransactionId transactionId

The HAPI transaction id, not the EVM transaction hash.

IMirrorQueryParameter[] filters

Optional filters — ContractActionIndexFilter for narrowing the action position, plus the standard PageLimit / OrderBy paging directives.

Returns
Type Description
IAsyncEnumerable<ContractActionData>

The sequence of contract actions for the transaction; empty if the transaction has no recorded actions or was not found.

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