Show / Hide Table of Contents

Class ContractActionData

A single entry in the call graph of a historical contract transaction — one per nested EVM call (CALL, CREATE, DELEGATECALL, precompile invocation, etc.). Retrieved via GetContractActionsByTransactionHashAsync(MirrorRestClient, EvmHash, params IMirrorQueryParameter[]) and GetContractActionsByTransactionIdAsync(MirrorRestClient, TransactionId, params IMirrorQueryParameter[]).

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

Properties

| Edit this page View Source

CallDepth

The nesting depth at which this call executed. Zero for the top-level call; each nested call increments by one.

Declaration
[JsonPropertyName("call_depth")]
public int CallDepth { get; set; }
Property Value
Type Description
int
| Edit this page View Source

CallOperationType

The EVM operation used to initiate this call: one of CALL, CALLCODE, CREATE, CREATE2, DELEGATECALL, STATICCALL, or UNKNOWN. Kept as a raw string to match existing AOT-friendly precedent on returned-enum fields.

Declaration
[JsonPropertyName("call_operation_type")]
public string CallOperationType { get; set; }
Property Value
Type Description
string
| Edit this page View Source

CallType

The semantic category of the call: one of NO_ACTION, CALL, CREATE, PRECOMPILE, or SYSTEM. Kept as a raw string for AOT-friendliness.

Declaration
[JsonPropertyName("call_type")]
public string CallType { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Caller

The HAPI account/contract id that initiated this call.

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

CallerType

The entity type of the caller: ACCOUNT or CONTRACT.

Declaration
[JsonPropertyName("caller_type")]
public string CallerType { get; set; }
Property Value
Type Description
string
| Edit this page View Source

From

The EVM address of the caller. Always populated by the server.

Declaration
[JsonPropertyName("from")]
[JsonConverter(typeof(EvmAddressConverter))]
public EvmAddress From { get; set; }
Property Value
Type Description
EvmAddress
| Edit this page View Source

Gas

Gas made available to this call (in gas units).

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

GasUsed

Gas actually consumed by this call (in gas units).

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

Index

The position of this action within the ordered list of actions for the parent transaction. Used with ContractActionIndexFilter to page or seek.

Declaration
[JsonPropertyName("index")]
public int Index { get; set; }
Property Value
Type Description
int
| Edit this page View Source

Input

The call's input data (EVM calldata or contract-creation bytecode). Null when the server did not record input data.

Declaration
[JsonPropertyName("input")]
[JsonConverter(typeof(HexStringToBytesConverter))]
public ReadOnlyMemory<byte> Input { get; set; }
Property Value
Type Description
ReadOnlyMemory<byte>
| Edit this page View Source

Recipient

The HAPI account/contract id of the recipient, when known.

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

RecipientType

The entity type of the recipient: ACCOUNT or CONTRACT. Null when the recipient type was not determined (e.g., some failed CREATE actions).

Declaration
[JsonPropertyName("recipient_type")]
public string? RecipientType { get; set; }
Property Value
Type Description
string
| Edit this page View Source

ResultData

Data returned from this call, when any. Null when no result data was recorded.

Declaration
[JsonPropertyName("result_data")]
[JsonConverter(typeof(HexStringToBytesConverter))]
public ReadOnlyMemory<byte> ResultData { get; set; }
Property Value
Type Description
ReadOnlyMemory<byte>
| Edit this page View Source

ResultDataType

The semantic kind of ResultData: one of OUTPUT (normal return), REVERT_REASON, or ERROR.

Declaration
[JsonPropertyName("result_data_type")]
public string ResultDataType { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Timestamp

The consensus timestamp at which the parent transaction executed (shared across all actions in the same trace).

Declaration
[JsonPropertyName("timestamp")]
public ConsensusTimeStamp Timestamp { get; set; }
Property Value
Type Description
ConsensusTimeStamp
| Edit this page View Source

To

The EVM address of the recipient. Null when the server sent an explicit null — distinct from the literal zero address 0x0000…0000, which carries meaning for contract-create actions and other edge cases.

Declaration
[JsonPropertyName("to")]
[JsonConverter(typeof(NullableEvmAddressConverter))]
public EvmAddress? To { get; set; }
Property Value
Type Description
EvmAddress
| Edit this page View Source

Value

The HBAR value transferred with this call, in tinybars.

Declaration
[JsonPropertyName("value")]
public long Value { get; set; }
Property Value
Type Description
long
  • Edit this page
  • View Source
In this article
Back to top .NET Client Library for Hiero Network and Hedera Hashgraph