4,120 questions
4,331 answers
5,676 comments
Try using the listaddresses command:
https://www.multichain.com/developers/json-rpc-api/