Skip to main content
edited title
Link
Thomas Jay Rush
  • 10k
  • 4
  • 33
  • 73

Does 'send' with zero value cost gas?

Source Link
Thomas Jay Rush
  • 10k
  • 4
  • 33
  • 73

Does 'send' cost gas?

If a contract has a list of 100 addresses stored, and the code loops through the list and tries to send each address '0' ether. Does that generate 'gas' for each send call?

The reason I'm asking is because I saw some code that did this (loop through addresses and send '0' ether), and I was wondering if that could get more and more expensive the more addresses get added to the list. Thanks.