The multichain-cli output shows a header line with the method and input parameters passed. is there a way by which we suppress this output line?
bitcoin-cli does not have this output line though.
I am trying to use a interfacing application which parses the json output. using bitcoin-cli, the appln works but because of this extra line in the beginning parser is failing.
sample output difference:
$ multichain-cli docRepo -conf=~/docRepo/multichain.conf getblockcount
{"method":"getblockcount","params":[],"id":1,"chain_name":"docRepo"}
2534
$ bitcoin-cli getblockcount
2534
$
$ multichain-cli docRepo -conf=~/docRepo/multichain.conf getaddresses
{"method":"getaddresses","params":[],"id":1,"chain_name":"docRepo"}
[
"1RgeFTjyUzeudygDEvqTruKdKRhhaDpH2c3P4z"
]
$ bitcoin-cli getaddresses
[
"1RgeFTjyUzeudygDEvqTruKdKRhhaDpH2c3P4z"
]
$
Difference in output is the 1st line highlighted in red.