0

How do you send ETH on the command line with Parity?

I am trying this on a node running Parity 2.4.5:

curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"personal_sendTransaction","params":[{"from":"0xfromaddress","to":"0xtoaddress","value":"0x3E8"},"fromaddresspassword"],"id":1,"jsonrpc":"2.0"}' localhost:8545

I get the error Invalid Request

  • I think the data has to come right after the curl. Try curl --data '{"jsonrpc":"2.0","method":"personal_sendTransaction","params":[{"from":"0xfromaddress","to":"0xtoaddress","value":"0x3E8"},"fromaddresspassword"],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8545 – Samuel Dare Jul 15 at 15:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.