I was using this piece of code to determine when the transaction is completed on the frontend.
After the transaction is completed I’m getting this
However, the execution failed because of the difference in types
Is there any way to read these errors directly ?