Skip to main content
added 60 characters in body; edited tags; edited title
Source Link
Murch
  • 77.8k
  • 35
  • 190
  • 641

bitcoin-cli commandcommands like createrawtransaction not working with json json on window command line like createrawtransaction

iI am trying to create raw transaction using createrawtransactionthe createrawtransaction api on testnet using window7the Windows7 command line. I always got error of jsonget an "error parsing JSON":

C:\Users\amjad>bitcoin-cli -testnet createrawtransaction '[{ "txid" : "12b8e7ede
4992f4d30f93idj3085746951d945e39f40becebd7c290af8c2e7ad", "vout" : 0 }]' '{"mxh3
H416KCRoBDiweSESew5YJyAk1nxLrN": 0.025, "mkrzDhhZtzQm8zgckSs4fMNrvtNJ66zaFe": 0.
0245}'
error: Error parsing JSON:'[{

 

img

Does anyone have an idea what I'm doing wrong?

bitcoin-cli command not working with json json on window command line like createrawtransaction

i am trying to create raw transaction using createrawtransaction api on testnet using window7 command line always got error of json parsing

C:\Users\amjad>bitcoin-cli -testnet createrawtransaction '[{ "txid" : "12b8e7ede
4992f4d30f93idj3085746951d945e39f40becebd7c290af8c2e7ad", "vout" : 0 }]' '{"mxh3
H416KCRoBDiweSESew5YJyAk1nxLrN": 0.025, "mkrzDhhZtzQm8zgckSs4fMNrvtNJ66zaFe": 0.
0245}'
error: Error parsing JSON:'[{

 

img

bitcoin-cli commands like createrawtransaction not working with json on command line

I am trying to create raw transaction using the createrawtransaction api on testnet using the Windows7 command line. I always get an "error parsing JSON":

C:\Users\amjad>bitcoin-cli -testnet createrawtransaction '[{ "txid" : "12b8e7ede
4992f4d30f93idj3085746951d945e39f40becebd7c290af8c2e7ad", "vout" : 0 }]' '{"mxh3
H416KCRoBDiweSESew5YJyAk1nxLrN": 0.025, "mkrzDhhZtzQm8zgckSs4fMNrvtNJ66zaFe": 0.
0245}'
error: Error parsing JSON:'[{

img

Does anyone have an idea what I'm doing wrong?

added 42 characters in body
Source Link
Nick ODell
  • 29.5k
  • 11
  • 73
  • 132

i am trying to create raw transaction using createrawtransaction api on testnet using window7 command line always got error of json parsing C:\Users\amjad>bitcoin-cli -testnet createrawtransaction '[{ "txid" : "12b8e7ede 4992f4d30f93idj3085746951d945e39f40becebd7c290af8c2e7ad", "vout" : 0 }]' '{"mxh3 H416KCRoBDiweSESew5YJyAk1nxLrN": 0.025, "mkrzDhhZtzQm8zgckSs4fMNrvtNJ66zaFe": 0. 0245}' error: Error parsing JSON:'[{

C:\Users\amjad>bitcoin-cli -testnet createrawtransaction '[{ "txid" : "12b8e7ede
4992f4d30f93idj3085746951d945e39f40becebd7c290af8c2e7ad", "vout" : 0 }]' '{"mxh3
H416KCRoBDiweSESew5YJyAk1nxLrN": 0.025, "mkrzDhhZtzQm8zgckSs4fMNrvtNJ66zaFe": 0.
0245}'
error: Error parsing JSON:'[{

 

img

i am trying to create raw transaction using createrawtransaction api on testnet using window7 command line always got error of json parsing C:\Users\amjad>bitcoin-cli -testnet createrawtransaction '[{ "txid" : "12b8e7ede 4992f4d30f93idj3085746951d945e39f40becebd7c290af8c2e7ad", "vout" : 0 }]' '{"mxh3 H416KCRoBDiweSESew5YJyAk1nxLrN": 0.025, "mkrzDhhZtzQm8zgckSs4fMNrvtNJ66zaFe": 0. 0245}' error: Error parsing JSON:'[{

i am trying to create raw transaction using createrawtransaction api on testnet using window7 command line always got error of json parsing

C:\Users\amjad>bitcoin-cli -testnet createrawtransaction '[{ "txid" : "12b8e7ede
4992f4d30f93idj3085746951d945e39f40becebd7c290af8c2e7ad", "vout" : 0 }]' '{"mxh3
H416KCRoBDiweSESew5YJyAk1nxLrN": 0.025, "mkrzDhhZtzQm8zgckSs4fMNrvtNJ66zaFe": 0.
0245}'
error: Error parsing JSON:'[{

 

img

Source Link

bitcoin-cli command not working with json json on window command line like createrawtransaction

i am trying to create raw transaction using createrawtransaction api on testnet using window7 command line always got error of json parsing C:\Users\amjad>bitcoin-cli -testnet createrawtransaction '[{ "txid" : "12b8e7ede 4992f4d30f93idj3085746951d945e39f40becebd7c290af8c2e7ad", "vout" : 0 }]' '{"mxh3 H416KCRoBDiweSESew5YJyAk1nxLrN": 0.025, "mkrzDhhZtzQm8zgckSs4fMNrvtNJ66zaFe": 0. 0245}' error: Error parsing JSON:'[{