LogParams
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:100
a LogParams encodes the minimal required properties for a formatted log.
Properties
Section titled “Properties”address
Section titled “address”address: string;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:123
The address of the contract that emitted this log.
blockHash
Section titled “blockHash”blockHash: string;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:109
The block hash of the block that included the transaction for this log.
blockNumber
Section titled “blockNumber”blockNumber: number;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:114
The block number of the block that included the transaction for this log.
data: string;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:127
The data emitted with this log.
index: number;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:135
The index of this log.
removed
Section titled “removed”removed: boolean;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:119
Whether this log was removed due to the transaction it was included in being removed dur to an orphaned block.
topics
Section titled “topics”topics: readonly string[];
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:131
The topics emitted with this log.
transactionHash
Section titled “transactionHash”transactionHash: string;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:104
The transaction hash for the transaxction the log occurred in.
transactionIndex
Section titled “transactionIndex”transactionIndex: number;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:139
The transaction index of this log.