Author

Topic: Bitcoin-CLI Issue - Error Parsing JSON:sendtoaddress (Read 2042 times)

jr. member
Activity: 45
Merit: 10
Exchange at the speed of Quantum Entanglement
New Account, it's Antimattercrusader/2

Thanks for the help. I got it to work, I just wasn't understanding the RPC Commands. Smiley
sr. member
Activity: 658
Merit: 250
You can't just bundle two different RPC commands in one.
newbie
Activity: 32
Merit: 0
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
newbie
Activity: 3
Merit: 0
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!
Jump to: