Docs

RemoveAllListeners

Remove all previously created event listeners, such as those created with ListenToAll.

Usage

await contract.events.RemoveAllListeners();