How can I save multichain outputs as a file?

+1 vote
I am working on ubuntu 16.04 and need to save the output of a command such as listwallettransactions in a json format
asked Jul 11, 2017 by AbbyG

1 Answer

0 votes

This is really a question about Linux rather than MultiChain, but here's what you need to do:

multichain-cli chain1 listwallettransactions > file.txt

That will put the output of the listwallettransactions API command into a file called file.txt.

answered Jul 12, 2017 by MultiChain