ContractEvents.removeTransactionListener() method
Remove a transaction listener
Example
contract.events.removeTransactionListener((event) => {
console.log(event);
}
Signature:
removeTransactionListener(listener: EventEmitter.ListenerFn): void;
Parameters
Parameter | Type | Description |
---|---|---|
listener | EventEmitter.ListenerFn | the callback function to remove |
Returns:
void
Remarks
Remove a listener that was added with addTransactionListener