2

Is there a simple tool for this or do I have to calculate it myself?

1 Answer 1

2

From How much does it cost to use a contract?

Total ETH cost = gasUsed * gasPrice

Multiply the result by the USD price per ETH.

browser-solidity can help provide the gasUsed, and you have control over the gasPrice. The USD price fluctuates, and it's not much multiplication so there might not yet be a tool that multiplies all 3 values.

1
  • It may not always be so easy to test everything in browser solidity - another option is to run on testnet with excessive amounts of Gas and use estnet.etherscan.io to find out how much you actually used... Commented Dec 24, 2016 at 17:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.