#Update UI when user accepts transaction in metamask

1 messages · Page 1 of 1 (latest)

glass token
#

Hi friends, it's been a long time since I worked with the chainSafe sdk and I have seen that there are many changes. I am trying to do a sendContract and when the user confirms the transaction in metamask, update the UI text. This in version 1.6 was very easy to do, but in the current version I can't do it.
Can you give me a hand?

untold cargo
#

you can make changes after the comments as the function will reach that point after the transaction is complete

glass token
#

yes, but I need to make the change before the transaction is completed, I need to do it just when the user clicks on the confirm button in metamask.

untold cargo
#

that is when you press confirm 🙂