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