A LogParams encodes the minimal required properties for a formatted log.

Properties

PropertyTypeDescription
addressstringThe address of the contract that emitted this log.
blockHashstringThe block hash of the block that included the transaction for this log.
blockNumbernumberThe block number of the block that included the transaction for this log.
datastringThe data emitted with this log.
indexnumberThe index of this log.
removedbooleanWhether this log was removed due to the transaction it was included in being removed dur to an orphaned block.
topicsreadonly string[]The topics emitted with this log.
transactionHashstringThe transaction hash for the transaxction the log occurred in.
transactionIndexnumberThe transaction index of this log.