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