-
Hi I'm trying to estimate the gas before I mint an nft. It works perfectly fine on testnets but when switching to eth mainnet or polygon it throws an insufficient funds error. It throws the error |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Never mind I just wasn't handling the error correctly 😅 |
Beta Was this translation helpful? Give feedback.
Never mind I just wasn't handling the error correctly 😅
https://docs.ethers.org/v5/troubleshooting/errors/#help-INSUFFICIENT_FUNDS