I was looking at ways to handle situations where we want to display a loader to the user if their transactions is currently ongoing.
we can use useWaitForTransaction for that. However, how do we handle the case, if the user refreshes the page?
Ideally, I want to be able to fetch user's pending transactions and display a UI suitable to my needs.
What's your thought on this?
I was looking at ways to handle situations where we want to display a loader to the user if their transactions is currently ongoing.
we can use
useWaitForTransactionfor that. However, how do we handle the case, if the user refreshes the page?Ideally, I want to be able to fetch user's pending transactions and display a UI suitable to my needs.
What's your thought on this?