how to capture multichain command output ?

+1 vote

I want to know if there is a way we can use the output of any Multichain API command with our application.

For instance, if the publish API command results in a hexadecimal output in the Linux terminal, how would our application capture/read that output ?

Any help is most appreciated !

 

asked Nov 26, 2018 by Yasir

1 Answer

+1 vote
 
Best answer

The command line interface in multichain-cli is just a wrapper for MultiChain's built in JSON-RPC interface, which you can connect to directly from any modern programming language. The output is right there in the HTTP response for your JSON-RPC requests. You might find a good start in some of the libraries linked from the bottom of this page: https://www.multichain.com/developers/

answered Nov 26, 2018 by MultiChain
selected Nov 26, 2018 by Yasir
...