Hello Everybody,
I am building an Oracle that I use to check some online services.
I would like to use the JSON RPC request "send transaction" to call some functions that I defined in a contract (already mined and working).
In Alethzero, the way I would call that method is :

Now how should I form the request in, say, Javascript?
I tried:
web3.eth.sendTransaction({ "to": "5bbc2ceee99583200d6331ff4038ef7839f85bdd", "data" : '$0xb5f54de3\n0x878c60f5d633f36c2d754e9aa02f9440498017b3\n"fsdfs2"\n"dfsfsf2"\n"dasdas2"\n"fdgdfg2"\n"fsfsf2"\n"fsdfsd2"' })
... but it does not work. Please help.
Comments
Still when I run the command in JS, that does not produce any result.
Here is the code in the Solidity Contract :
I then tried the get method (should return an int) But still, nothing to do. Should the value be higher?
and for safety, all hex fields should be prefixed with "0x", which your to field is not
See https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sendtransaction for an example