4,157 questions
4,370 answers
5,718 comments
Try using the listaddresses command:
https://www.multichain.com/developers/json-rpc-api/