Skip to content

Show metamask popup even when the funds are insufficient. #2149

Answered by zemse
d4rkg asked this question in Q&A
Discussion options

You must be logged in to vote

It can be possible that the error is due to estimateGas. To skip that call, can you pass in a gasLimit override and see if it works? If you need to estimateGas anyway, you can have a separate line before with gasPrice as 0, so that it doesn't give you an insufficient funds error.

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@panoplied
Comment options

Answer selected by d4rkg
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@zemse
Comment options

zemse Feb 28, 2022
Collaborator

@BowserKingKoopa
Comment options

Comment options

You must be logged in to vote
3 replies
@mongchanghsi
Comment options

@bounds
Comment options

@mongchanghsi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants