Error parsing JSON in bitcoin-cli createrawtransaction

Error parsing JSON in bitcoin-cli createrawtransaction

I'm trying to send BTC from one address to another address in testnet.I got an error in parsing JSON while I execute the below createrawtransaction command.Is there any possibility for send BTC by using privatekey and I already dump privatekey to my addresses by using command 'dumpprivkey' Can anyone please tell me the solution for both. thankyou in advance.

createrawtransaction command:

bitcoin-cli -testnet -rpcuser=test -rpcpassword=test123 createrawtransaction '[{"txid":"8c154fbf22b9965014cabf5ffb6231f2fbcf244ac6388999bd6fb98b2573452c","vout":0}]''{"2Mv49P86ZzroJB3Q7fhgaGeoCohnPZh5TSm":0.100,"2MyzVaQYhtCCXWiiP4sNcTGM5VCV6oGUCQ8":0.100}'

Check below error:

error: Error parsing JSON: [{"txid":"8c154fbf22b9965014cabf5ffb6231f2fbcf244ac6388999bd6fb98b2573452c","vout":0}]{"2Mv49P86ZzroJB3Q7fhgaGeoCohnPZh5TSm":0.100,"2MyzVaQYhtCCXWiiP4sNcTGM5VCV6oGUCQ8":0.100}
http://bit.ly/2UsXUtb

Comments

Popular posts from this blog

Bitcoin Core errors with database block

Bitfinex & Market Synergy To Offer Institutional Calibre Cryptocurrency Connectivity