Title: Bitcoin-CLI Issue - Error Parsing JSON:sendtoaddress Post by: antimattercrusader2 on February 06, 2015, 07:00:26 AM 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! Title: Re: Bitcoin-CLI Issue - Error Parsing JSON:sendtoaddress Post by: scientific on February 06, 2015, 03:36:53 PM 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 <passphrase> <timeout> And see here: https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list Title: Re: Bitcoin-CLI Issue - Error Parsing JSON:sendtoaddress Post by: fenghush on February 06, 2015, 03:38:00 PM You can't just bundle two different RPC commands in one.
Title: Re: Bitcoin-CLI Issue - Error Parsing JSON:sendtoaddress Post by: QuantumCurrency on February 06, 2015, 04:35:30 PM New Account, it's Antimattercrusader/2
Thanks for the help. I got it to work, I just wasn't understanding the RPC Commands. :) |