Skip to main content
A ContractEventPayload is included as the last parameter to Contract Events when the event is known.

Extends

Properties

Accessors

eventName

The event name.

Returns

string

Source

contract/wrappers.ts:238

eventSignature

The event signature.

Returns

string

Source

contract/wrappers.ts:245

Methods

getBlock()

Resolves to the block the event occured in.

Parameters

Returns

Promise<Block> A promise resolving to the block the event occured in.

Inherited from

ContractUnknownEventPayload.getBlock

Source

contract/wrappers.ts:176

getTransaction()

Resolves to the transaction the event occured in.

Returns

Promise<TransactionResponse> A promise resolving to the transaction the event occured in.

Inherited from

ContractUnknownEventPayload.getTransaction

Source

contract/wrappers.ts:185

getTransactionReceipt()

Resolves to the transaction receipt the event occured in.

Returns

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

Inherited from

ContractUnknownEventPayload.getTransactionReceipt

Source

contract/wrappers.ts:194

removeListener()

Unregister the triggered listener for future events.

Returns

Promise<void>

Inherited from

ContractUnknownEventPayload.removeListener

Source

utils/events.ts:99