Class EvmCallResultExtensions
Extension methods for simulating EVM contract calls via the mirror node.
Inherited Members
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public static class EvmCallResultExtensions
Methods
| Edit this page View SourceCallEvmAsync(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. |