Show / Hide Table of Contents

Class OpcodesData

The opcode-level trace of a historical EVM transaction — re-executed on the mirror node to produce a step-by-step record of every opcode that ran, along with the final stack / memory / storage state as controlled by the request's projection filters. Produced by GetContractOpcodesByTransactionHashAsync(MirrorRestClient, EvmHash, params IMirrorProjection[]) and GetContractOpcodesByTransactionIdAsync(MirrorRestClient, TransactionId, params IMirrorProjection[]).

Inheritance
object
OpcodesData
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 class OpcodesData

Properties

| Edit this page View Source

Address

The EVM address of the transaction recipient. The zero address is set for transactions without a recipient (e.g. contract create).

Declaration
[JsonPropertyName("address")]
public EvmAddress Address { get; set; }
Property Value
Type Description
EvmAddress
| Edit this page View Source

Contract

The contract account id that was executed.

Declaration
[JsonPropertyName("contract_id")]
public EntityId Contract { get; set; }
Property Value
Type Description
EntityId
| Edit this page View Source

Failed

Whether the transaction failed to complete processing.

Declaration
[JsonPropertyName("failed")]
public bool Failed { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

Gas

Total gas consumed by the transaction, in gas units.

Declaration
[JsonPropertyName("gas")]
public long Gas { get; set; }
Property Value
Type Description
long
| Edit this page View Source

Opcodes

The step-by-step opcode trace produced by the EVM logger.

Declaration
[JsonPropertyName("opcodes")]
public OpcodeData[] Opcodes { get; set; }
Property Value
Type Description
OpcodeData[]
| Edit this page View Source

ReturnValue

Bytes returned from the transaction's top-level call.

Declaration
[JsonPropertyName("return_value")]
[JsonConverter(typeof(HexStringToBytesConverter))]
public ReadOnlyMemory<byte> ReturnValue { get; set; }
Property Value
Type Description
ReadOnlyMemory<byte>
  • Edit this page
  • View Source
In this article
Back to top .NET Client Library for Hiero Network and Hedera Hashgraph