4,174 questions
4,387 answers
5,747 comments
Try using the listaddresses command:
https://www.multichain.com/developers/json-rpc-api/