You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered the same problem, but I solved it in a different way. After executing the method, instead of calling wait() first, I use getTransaction() to obtain the tx, and then call tx.wait() to retrieve the transaction result. Problem perfectly solved!
Ethers Version
6.13.0
Search Terms
receipt.confirmations is not a function
Describe the Problem
in scroll , when use contract.function to interact with contract, all the tx.wait() raise excepiont TypeError: receipt.confirmations is not a function
but actually the tx is success
Code Snippet
Contract ABI
Errors
Environment
node.js (v12 or newer)
Environment (Other)
none
The text was updated successfully, but these errors were encountered: