json API function which takes a CLI command string

0 votes
Hi,

Can you provide a JSON API command which takes a CLI-command as string and returns a string(could be the result, error).

This would be similar to Javascript eval function.

Thanks
asked Oct 1, 2015 by senthil

1 Answer

0 votes

It's an interesting idea, but it would really be quite a lot of work, because the multichaind daemon and the multichain-cli command-line wrapper are separate products. Perhaps you can instead build some kind of thin wrapper for multichain-cli that would serve the same purpose?

answered Oct 1, 2015 by MultiChain
...