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
But listening to what event? The best I was able to do is listen to all blocks, get all transactions within each block and filtering out any that aren't from the current connected address, but this feels like wayyy to much work
0 reply
0 recast
0 reaction