decryptExportBundle(Defined in: turnkey.ts:103 Decrypt an encrypted export bundle (such as a private key or wallet account bundle). This function verifies the enclave signature to ensure the authenticity of the encrypted data. It uses HPKE (Hybrid Public Key Encryption) to decrypt the contents of the bundle and returns either the decrypted mnemonic or the decrypted data in hexadecimal format, based on theparams
):Promise
<string
>
returnMnemonic
flag.
DecryptExportBundleParams
An object containing the following properties:
Promise
<string
>