Show / Hide Table of Contents

Class EvmCallResultExtensions

Extension methods for simulating EVM contract calls via the mirror node.

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

Methods

| Edit this page View Source

CallEvmAsync(MirrorRestClient, EvmCallData)

Simulates a call to the Hedera EVM, can be used for pure view methods as well.

Declaration
public static Task<EncodedParams> CallEvmAsync(this MirrorRestClient client, EvmCallData callData)
Parameters
Type Name Description
MirrorRestClient client

Mirror Rest Client to use for the request.

EvmCallData callData

The arguments identifying the contract, method and arguments to send to the simulated EVM.

Returns
Type Description
Task<EncodedParams>

The encoded parameters returned from the simulated EVM call.

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