Hello all.
Is there any way/app to estimate a smart contract gas?
Thanks in advance.

Mar 4, 2021, 2:50 PM
Sure, depend of the opcode of SC
Mar 4, 2021, 3:00 PM
If you mean the cost for a transaction, many external dapps do this. What you do, is you take the transaction you want to execute and instead of broadcasting it as a transaction, you run it locally as a call instead - that will give you a gas estimate you can use
Mar 4, 2021, 3:05 PM

© 2024 Draquery.com All rights reserved.