I'm trying to figure out what exactly happens when a function of a smart contract gets called. Since all client communication is done through JSON-RPC I'm looking at their wiki to find which JSON-RPC function is called when you call a smart contract function.
Is this different from view
functions to payable
ones?
Or do all function calls use the JSON-RPC function eth_sendTransaction
and include the function's name as hash in the data
field?