createrawsendfrom error

+2 votes
Im gettin this errror when i try to createsendrawfrom

>multichain-cli test createrawsendfrom "1b2qXaWNFag7rF1gr38WHjpVbWyV9AWFaAsXAz" "{"1b2qXaWNFag7rF1gr38WHjpVbWyV9AWFaAsXAz":{"testcoin":20}}"
error: Error parsing JSON:{1b2qXaWNFag7rF1gr38WHjpVbWyV9AWFaAsXAz:{testcoin:20}}
asked Aug 24, 2017 by Luis Acerv

1 Answer

0 votes
I don't know if you're using Linux or Windows, but this is not the correct command-line escaping in either case. If Linux, you need single quotes rather than double quotes around the ful JSON representing the destination and quantity. If Windows, you need to follow the escaping example in the downloaded README.
answered Aug 25, 2017 by MultiChain
...