Extended useSendTransaction and useWriteContract hook? #4568
Unanswered
WingsDevelopment
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It seems to me that wait for transaction receipt is very common usecase whenever we send some transaction over the chain, and I see many projects doing this in kind of similar way, everyone solving this problem on their own. So I was wondering wagmi could provide hook for this? And why it doesn't exist already?
Three key features important to the user,
So this is what I am doing now:
And then for both wagmi hooks I do this:
Or is there a specific reason why wagmi decided not to provide something like this?
Beta Was this translation helpful? Give feedback.
All reactions