4,166 questions
4,379 answers
5,732 comments
Which shell environment are you trying to do this in? bash or something else?
In bash you would do something like this:
addr=1796hWJ7JYaqUGUrWyXtixcQMjzwsaKJzZfifz
multichain-cli chain1 getaddressbalances $addr
Note that this will not work in multichain-cli interactive mode.