4,165 questions
4,378 answers
5,729 comments
Use the dumpprivkey command, which is documented on this page:
https://www.multichain.com/developers/json-rpc-api/