5

Is there somewhere a list showing the different cost of different calculations?
For example:

  • Perform transaction: 21'000 gas
  • calculate a hash: 30 gas
  • addition of two numbers: 3 gas
  • cycle in a loop: 1 gas
  • ...
0

1 Answer 1

9

Take a look to http://ethdocs.org/en/latest/contracts-and-transactions/account-types-gas-and-transactions.html.

Also, check the following spreadsheet: https://docs.google.com/spreadsheets/d/1m89CVujrQe5LAFJ8-YAUCcNK950dUzMQPMJBxRtGCqs/edit

1

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