Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
Any chance we could get an example of what you're trying to pass and how you've currently attempted to escape it? – David Perry Nov 20 '12 at 21:38
Unbelievable. I had already seen 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. – Meni Rosenfeld Nov 21 '12 at 5:54
Sadly, my sendmany woes are not over yet, though that is irrelevant to this question. – Meni Rosenfeld Nov 21 '12 at 5:57

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

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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