I want to make a call to Ethereum node using JSON RPC method. On the command line, i use the curl command to call eth_sendTransaction:
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_sendTransaction","params":[{"from":"","to": "","gas": "0x76c0","gasPrice": "0x9184e72a000", "value": "0x0", "data": "0xa9059cbb0000000000000000000000007704169f56d59e0908a4423a943d9ca18e3106b900000 0000000000000000000000000000000000000000000000000000000000a"}], "id":1}' :8545
The data field "0xa9059cbb0000000000000000000000007704169f56d59e0908a4423a943d9ca18e3106b900000
0000000000000000000000000000000000000000000000000000000000a"
is obtained from
https://abi.hashex.org/After issuing the curl command , it got stuck forever. Do i use the right way to obtain the data field?