Documentation Index
Fetch the complete documentation index at: https://docs.magic.link/llms.txt
Use this file to discover all available pages before exploring further.
SDK Method
This method is currently only available through our web, React Native, and Android SDKs. For all other SDKs, refer to our Reveal Page section below.

user.revealEVMPrivateKey method to allow your users to view their EVM private keys. Implementing this method will allow your end users to back up their private keys or take them to another wallet. Neither Magic nor the developer can see this key; only the end user can.
Usage
Once you have verified the correct setup of the Magic SDK and successfully authenticated the user, the reveal private key modal can then be displayed by calling the appropriate method:Important: Implementing this SDK method will allow your end users to access their private key. Be sure to read through this document carefully before implementing.
EVM Chains (Web & React Native)
JavaScript
Non-EVM Chains (Blockchain Extensions)
For non-EVM chains, use the specific extension’srevealPrivateKey method:
JavaScript
Android SDK
The Android SDK continues to use the original method:Kotlin