What is the method type that would be called, and what is the method type that would be sendTransaction'd, if you were to do a myContractInstance.myMethod() call in web3?
Basically, it depends on how you declare your functions in solidity. Without a `constant` modifier, the function is treated as a transaction and will be used as such by web3 (i.e. it will execute sendTransaction implicitly). If 'constant' is declared, then the function will be called by web3.
My advice, however, is to always use `call` and `sendTransaction` explicitly - this makes your code easier to read.
Comments
My question however remains.
What is the method type that would be called, and what is the method type that would be sendTransaction'd, if you were to do a myContractInstance.myMethod() call in web3?
My advice, however, is to always use `call` and `sendTransaction` explicitly - this makes your code easier to read.