I'm trying to make a sendTransaction json rpc call and I don't know how to calculate the data paramether.
From the documentation:
data: DATA - The compiled code of a contract OR the hash of the invoked method signature and encoded parameters. For details see Ethereum Contract ABI
There is no specification how this should be made: the hash of the invoked method signature and encoded parameters