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