Post
Topic
Board Bitcoin Technical Support
Re: Bitcoin-CLI Issue - Error Parsing JSON:sendtoaddress
by
scientific
on 06/02/2015, 15:36:53 UTC
Hey,This may very well be a stupid question - but I am trying to send some BTC using the command line interface (Windows 7) using the following commands:

bitcoin-cli walletpassphrase xxxxxxxx sendtoaddress "13Eu3B2VG8irHcwX3b2Emk1LaDVMDDamJB" 0.01 "test" "2nd wallet"
or
bitcoin-cli walletpassphrase xxxxxxxx sendtoaddress 13Eu3B2VG8irHcwX3b2Emk1LaDVMDDamJB 0.01 "test" "2nd wallet"

But no matter which variation I try of above, I receive the following error:

error: Error Parsing JSON:sendtoaddress

I've also tried the same with bitcoind and had the same results. Does anyone have any suggestions? I'll admit I am pretty new to command line anything, but alot of googling and searching has not revealed an answer. Any assistance is greatly appreciated!

Because that's not the correct syntax. Use these:

Code:
bitcoin-cli walletpassphrase
bitcoin-cli sendtoaddress [comment] [comment-to]

And see here: https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list