Skip to content

Type Alias: Log

type Log = {
  address: Address;
  blockHash: Hash;
  blockNumber: bigint;
  data: Hex;
  logIndex: number;
  topics: Hex[];
  transactionHash: Hash;
  transactionIndex: number;
};

Defined in: packages/submitter/lib/types/ethereum.ts:13

Type of EVM logs.

Properties

address

address: Address;

Defined in: packages/submitter/lib/types/ethereum.ts:20

The address from which this log originated


blockHash

blockHash: Hash;

Defined in: packages/submitter/lib/types/ethereum.ts:23

Hash of block containing this log or null if pending


blockNumber

blockNumber: bigint;

Defined in: packages/submitter/lib/types/ethereum.ts:26

Number of block containing this log or null if pending


data

data: Hex;

Defined in: packages/submitter/lib/types/ethereum.ts:32

Contains the non-indexed arguments of the log


logIndex

logIndex: number;

Defined in: packages/submitter/lib/types/ethereum.ts:35

Index of this log within its block or null if pending


topics

topics: Hex[];

Defined in: packages/submitter/lib/types/ethereum.ts:29

List of order-dependent topics


transactionHash

transactionHash: Hash;

Defined in: packages/submitter/lib/types/ethereum.ts:38

Hash of the transaction that created this log or null if pending


transactionIndex

transactionIndex: number;

Defined in: packages/submitter/lib/types/ethereum.ts:41

Index of the transaction that created this log or null if pending