Skip to content

Does simulateContract estimate the contract call gas limit? #862

Answered by jxom
Sam-Scolari asked this question in Question
Discussion options

You must be logged in to vote

Yep! gas is the gas limit, and you should estimate gas using estimateContractGas.

Are you using a JSON-RPC account? If so, I wonder why the wallet is calculating the gas so high for you.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Sam-Scolari
Comment options

Answer selected by jxom
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants