I've been trying to use sendmany on my local installation of Bitcoin-qt (version 0.7.0) from the Windows command prompt. I've seen examples but when I try them all I get is a JSON parsing error. I figure that on Windows the input needs to be escaped in a different way than on Linux.

How do I pass a JSON argument to bitcoind from the Windows command prompt?

  • 1
    Any chance we could get an example of what you're trying to pass and how you've currently attempted to escape it? Nov 20, 2012 at 21:38
  • 1
    Unbelievable. I had already seen bitcointalk.org/index.php?topic=54879.0 and unsuccessfully tried to replicate it; it turns out I made an error in visually reproducing it. The question is still valid though and I'll take the liberty of answering it. Nov 21, 2012 at 5:54
  • Sadly, my sendmany woes are not over yet, though that is irrelevant to this question. Nov 21, 2012 at 5:57

1 Answer 1


The important part is that strings should be enclosed in triple double-quotation marks. For example:

bitcoind sendmany "" {"""1ELvnrA6PhUyDBS6iR25K1Xx4xXL6VMfJX""":0.001,"""1NX3R5Le4c1y9E316NPMze7aEmCXjpCY58""":0.001}
  • Hello, I googled this answer, is the triple quotation a windows thing or is it needed in bash, too? Feb 17, 2014 at 17:48
  • @KarelBílek: I don't remember. Let us know what you find. Feb 17, 2014 at 19:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.