A ContractUnknownEventPayload is included as the last parameter to Contract Events when the event does not match any events in the ABI.

Extends

Extended by

Properties

PropertyModifierTypeDescriptionInherited from
emitterreadonlyEventEmitterable<ContractEventName>The EventEmitterable.EventPayload.emitter
filterreadonlyContractEventNameThe event filter.EventPayload.filter
logreadonlyLogThe log with no matching events.-

Methods

getBlock()

getBlock(shard): Promise<Block>

Resolves to the block the event occured in.

Parameters

ParameterTypeDescription
shardShardThe shard to get the block from.

Returns

Promise<Block>

A promise resolving to the block the event occured in.

Source

contract/wrappers.ts:178


getTransaction()

getTransaction(): Promise<TransactionResponse>

Resolves to the transaction the event occured in.

Returns

Promise<TransactionResponse>

A promise resolving to the transaction the event occured in.

Source

contract/wrappers.ts:187


getTransactionReceipt()

getTransactionReceipt(): Promise<TransactionReceipt>

Resolves to the transaction receipt the event occured in.

Returns

Promise<TransactionReceipt>

A promise resolving to the transaction receipt the event occured in.

Source

contract/wrappers.ts:196


removeListener()

removeListener(): Promise<void>

Unregister the triggered listener for future events.

Returns

Promise<void>

Inherited from

EventPayload.removeListener

Source

utils/events.ts:99