Skip to main content

ContractEvents.removeTransactionListener() method

Remove a transaction listener

Example

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

Signature:

removeTransactionListener(listener: ListenerFn): void;

Parameters

ParameterTypeDescription
listenerListenerFnthe callback function to remove

Returns:

void

Remarks

Remove a listener that was added with addTransactionListener