Skip to main content
An EventLog contains additional properties parsed from the Log.

Extends

Properties

Accessors

eventName

The name of the event.

Returns

string

Source

contract/wrappers.ts:47

eventSignature

The signature of the event.

Returns

string

Source

contract/wrappers.ts:54

Methods

getBlock()

Returns the block that this log occurred in.

Parameters

Returns

Promise<Block> A promise resolving to the block.

Inherited from

Log.getBlock

Source

providers/provider.ts:1089

getTransaction()

Returns the transaction that this log occurred in.

Returns

Promise<TransactionResponse> A promise resolving to the transaction.

Inherited from

Log.getTransaction

Source

providers/provider.ts:1100

getTransactionReceipt()

Returns the transaction receipt fot the transaction that this log occurred in.

Returns

Promise<TransactionReceipt> A promise resolving to the transaction receipt.

Inherited from

Log.getTransactionReceipt

Source

providers/provider.ts:1111

toJSON()

Returns a JSON-compatible object.

Returns

any

Inherited from

Log.toJSON

Source

providers/provider.ts:1065