4,152 questions
4,365 answers
5,715 comments
Try using the listaddresses command:
https://www.multichain.com/developers/json-rpc-api/