Contract
ContractUnknownEventPayload
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
Property | Modifier | Type | Description | Inherited from |
---|---|---|---|---|
emitter | readonly | EventEmitterable <ContractEventName > | The EventEmitterable. | EventPayload .emitter |
filter | readonly | ContractEventName | The event filter. | EventPayload .filter |
log | readonly | Log | The log with no matching events. | - |
Methods
getBlock()
Resolves to the block the event occured in.
Parameters
Parameter | Type | Description |
---|---|---|
shard | Shard | The shard to get the block from. |
Returns
Promise
<Block
>
A promise resolving to the block the event occured in.
Source
getTransaction()
Resolves to the transaction the event occured in.
Returns
Promise
<TransactionResponse
>
A promise resolving to the transaction the event occured in.
Source
getTransactionReceipt()
Resolves to the transaction receipt the event occured in.
Returns
Promise
<TransactionReceipt
>
A promise resolving to the transaction receipt the event occured in.
Source
removeListener()
Unregister the triggered listener for future events.
Returns
Promise
<void
>
Inherited from
Source
Was this page helpful?