0

I know that you can call the method on the contract only by creating the transaction with the appropriate to field specifing the address of the contract to call.

But when you use a solidity contract to call a method on another contract, does it create a transaction or not? And why?

Shawn Tabrizi
  • 8,008
  • 4
  • 19
  • 38
Piliponful
  • 325
  • 1
  • 2
  • 7
  • Take a look at this question/answer. https://ethereum.stackexchange.com/questions/765/what-is-the-difference-between-a-transaction-and-a-call?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa – Shawn Tabrizi Apr 22 '18 at 21:07

1 Answers1

1

From my understanding this only happens if the contract method your calling(inside you contract) changes/insert data in the block-chain. Otherwise it wont invoke a transaction.

BAcevedo
  • 11
  • 2