Content pfp
Content
@
0 reply
0 recast
2 reactions

leal.eth 🫡 pfp
leal.eth 🫡
@leal.eth
Is there a way to add an event listener or hook to run some code on every transaction that gets submitted on the frontend? I'm only interested in transactions that happen on the browser by the wallet that is connected. Currently just using a bunch of onSuccess callbacks for this while using wagmi.
3 replies
0 recast
4 reactions

@
0 reply
0 recast
0 reaction

leal.eth 🫡 pfp
leal.eth 🫡
@leal.eth
Already did, the best I could do is using `useWatchBlocks` but then I need to get all transactions within each block and then filter out if any was done via the wallet that is currently connected. But this feels like wayyy to much work and it would catch transactions the wallet did outside of my app as well
0 reply
0 recast
0 reaction