Skip to main content

ContractEvents.removeTransactionListener() method

Remove a transaction listener

Example

contract.events.removeTransactionListener((event) => {
console.log(event);
}

Signature:

removeTransactionListener(listener: EventEmitter.ListenerFn): void;

Parameters

ParameterTypeDescription
listenerEventEmitter.ListenerFnthe callback function to remove

Returns:

void

Remarks

Remove a listener that was added with addTransactionListener