Open
Description
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
const croc = new CrocEnv.CrocEnv("scroll", this.wallet)
const tx = await croc.sellEth(amount).for(usdc).swap()
await tx.wait()
Contract ABI
none
Errors
TypeError: receipt.confirmations is not a function
Environment
node.js (v12 or newer)
Environment (Other)
none