How do you listen to events emitted in smart contacts using wagmi js

Cryptocurrency News and Public Mining Pools

How do you listen to events emitted in smart contacts using wagmi js

I have made an auction contract that lets players bid for NFTs, but on the frontend I want to listen to the event, how could I achieve that in wagmi js

submitted by /u/Over-Manufacturer157
[link] [comments]