-
|
Hello. I can't handle event from smart-contract. I can write contract and after that the event create. But i cant handle it. I use whatchContractEvent
I can see event and transaction in logs. I need to get some values from event, but i can't. I get this: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
You'll need to pass that listener callback as a second parameter to https://wagmi.sh/core/actions/watchContractEvent#usage Sorry, the docs were previously outdated/incorrect. They just recently got updated with the correct usage. |
Beta Was this translation helpful? Give feedback.

You'll need to pass that listener callback as a second parameter to
watchContractEvent.https://wagmi.sh/core/actions/watchContractEvent#usage
Sorry, the docs were previously outdated/incorrect. They just recently got updated with the correct usage.