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 48-byte SHA-384 record-file hash of the block this log event was emitted in.
Declaration
[JsonPropertyName("block_hash")]
[JsonConverter(typeof(HexStringToBytesConverter))]
public ReadOnlyMemory<byte> BlockHash { get; set; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyMemory<byte> |
Remarks
Hedera block hashes are SHA-384 outputs (48 bytes / 96 hex chars on the wire), not 32-byte EVM-style hashes — see the remarks on EvmHash.
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")]
public EvmHash TransactionHash { get; set; }
Property Value
| Type | Description |
|---|---|
| EvmHash |
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 |