This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Description
Is there an existing issue for this?
Current Behavior
Currently the PromiEvent first subscription to the event returns the undefined.
Expected Behavior
It should return the PromiEvent object to allow the event chaining.
Steps to Reproduce
await contract.methods.myMethod().send().on('transationHash', console.log).on('receipt', console.log);
Web3.js Version
4.x
Environment
No response
Anything Else?
No response