Class ExtendedContractLogData
Represents the log results from an EVM contract call with extended information identifying which transaction and block this log event belongs to.
Inherited Members
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public class ExtendedContractLogData : ContractLogData
Properties
| Edit this page View SourceBlockHash
The Block Hash of the TransactionId
Declaration
[JsonPropertyName("block_hash")]
[JsonConverter(typeof(HexStringToBytesConverter))]
public ReadOnlyMemory<byte> BlockHash { get; set; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyMemory<byte> |
BlockNumber
The Block Number containing this log entry
Declaration
[JsonPropertyName("block_number")]
[JsonConverter(typeof(LongMirrorConverter))]
public long BlockNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Consensus
The associated transaction’s consensus timestamp.
Declaration
[JsonPropertyName("timestamp")]
public ConsensusTimeStamp Consensus { get; set; }
Property Value
| Type | Description |
|---|---|
| ConsensusTimeStamp |
RootContract
The ID of the contract that was called externally, may be different than the contract that emitted this event.
Declaration
[JsonPropertyName("root_contract_id")]
public EntityId RootContract { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
TransactionHash
The Hash of the TransactionId
Declaration
[JsonPropertyName("transaction_hash")]
[JsonConverter(typeof(HexStringToBytesConverter))]
public ReadOnlyMemory<byte> TransactionHash { get; set; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyMemory<byte> |
TransactionIndex
The transaction index within the block for this log record
Declaration
[JsonPropertyName("transaction_index")]
[JsonConverter(typeof(LongMirrorConverter))]
public long TransactionIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| long |