Class ContractLogData
Represents the log results from an EVM contract call.
Inherited Members
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public class ContractLogData
Properties
| Edit this page View SourceBlockIndex
The index of this log within the chain of logs for its contract execution (not a block-wide log index).
Declaration
[JsonPropertyName("index")]
[JsonConverter(typeof(LongMirrorConverter))]
public long BlockIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Bloom
Bloom filter for record
Declaration
[JsonPropertyName("bloom")]
[JsonConverter(typeof(HexStringToBytesConverter))]
public ReadOnlyMemory<byte> Bloom { get; set; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyMemory<byte> |
Contract
ID of the contract that emitted this log, the same contract as ContractAddress.
Declaration
[JsonPropertyName("contract_id")]
public EntityId Contract { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
ContractAddress
The EVM address of the contract that generated the event, this is not necessarily the contract that externally called.
Declaration
[JsonPropertyName("address")]
public EvmAddress ContractAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| EvmAddress |
Data
Non Indexed Input associated with the log Event
Declaration
[JsonPropertyName("data")]
[JsonConverter(typeof(HexStringToBytesConverter))]
public ReadOnlyMemory<byte> Data { get; set; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyMemory<byte> |
Topics
The indexed topic values returned from the contract call event
Declaration
[JsonPropertyName("topics")]
[JsonConverter(typeof(HexStringArraytoBytesArrayConverter))]
public ReadOnlyMemory<byte>[] Topics { get; set; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyMemory<byte>[] |