Contains information about a transaction. Most of the fields have been made optional; only those needed by the decoder have been made mandatory.

Intended to work like Web3's Log type, but with strings allowed where it requires numbers.

Hierarchy

  • Log

Properties

address: string

Address of the emitter (as checksummed hex string).

blockHash?: string

The block hash (as hex string). Null if pending.

blockNumber: string | number | bigint

The block number. Null if pending.

data: string

The log's data section (as hex string).

logIndex?: string | number | bigint

Index of the log within the block.

topics: string[]

The log's topics; each is a hex string representing 32 bytes.

transactionHash?: string

The emitting transaction's hash (as hex string).

transactionIndex?: string | number | bigint

Index within the block of the emitting transaction; null if block is pending.

Generated using TypeDoc