Back to All

problem with alchemy.ws.on(topicSets, (log, e) => console.log(log, e))

Hi guys, I'm trying to listening to a contract event, but, when the event occurs, the e parameter result as undefined and I don't know how to get the parameters of the emitted event.

Do you know how to handle it? Thanks :)

ReadMe