useWatchContractEvent
useWatchContractEvent makes it easy to listen for specific contract events on-chain. This is super handy when you want to trigger actions based on events—like showing a notification when the connected account receives funds via a transfer event.
Plus, with Dedot’s type system, all event parameters are fully typed, making it smoother than ever to work with contract events! 🚀
Last updated
Was this helpful?