4,157 questions
4,370 answers
5,718 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.