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[]).
Inherited Members
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public class OpcodesData
Properties
| Edit this page View SourceAddress
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 |
Contract
The contract account id that was executed.
Declaration
[JsonPropertyName("contract_id")]
public EntityId Contract { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
Failed
Whether the transaction failed to complete processing.
Declaration
[JsonPropertyName("failed")]
public bool Failed { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Gas
Total gas consumed by the transaction, in gas units.
Declaration
[JsonPropertyName("gas")]
public long Gas { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
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[] |
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> |