RetrievePrivateKey
Description
Downloads the user's private key as a .txt
file. Please ensure that the user is made aware of the risks of exporting their private key before allowing them to pick this option.
Details
Signature
async RetrievePrivateKey(apiKey, walletAddress)
Arguments
Parameter | Type | Definition |
---|---|---|
| String | The API Key generated from the Developer Portal |
| String | The public wallet address for which you would like to export the private key. The wallet address can be retrieved from the RetrieveUser endpoint. |
Return Value
This function returns a Promise
that resolves to the following object:
Example
Last updated