showAccountPrivateKey
How to call the API from an app
What the API does
Displays an alert dialog blox on Metamask with the private key of the snap account. The user can then copy it if they like. Note that the private key is never passed to the applications and is only displayed on the dialog box.
Some example responses:
For a hedera account id 0.0.3581604
:
Live Demo on CodePen
Last updated
Was this helpful?