Export a wallet’s private key.
This endpoint exports a wallet’s private key using Hybrid Public Key Encryption (HPKE). The following HPKE configuration is supported:
ID of your Privy app.
Request authorization signature. If multiple signatures are required, they should be comma separated.
ID of the wallet to export.
Currently only supports HPKE
(Hybrid Public Key Encryption).
Base64-encoded public key of the recipient who will decrypt the private key. This key must be generated securely and kept confidential. The public key sent should be in DER or PEM format. It is recommended to use DER format.
Will be HPKE
to indicate Hybrid Public Key Encryption was used.
Base64-encoded encrypted private key.
Base64-encoded ephemeral public key used in the HPKE encryption process. Required for decryption.
Export a wallet’s private key.
This endpoint exports a wallet’s private key using Hybrid Public Key Encryption (HPKE). The following HPKE configuration is supported:
ID of your Privy app.
Request authorization signature. If multiple signatures are required, they should be comma separated.
ID of the wallet to export.
Currently only supports HPKE
(Hybrid Public Key Encryption).
Base64-encoded public key of the recipient who will decrypt the private key. This key must be generated securely and kept confidential. The public key sent should be in DER or PEM format. It is recommended to use DER format.
Will be HPKE
to indicate Hybrid Public Key Encryption was used.
Base64-encoded encrypted private key.
Base64-encoded ephemeral public key used in the HPKE encryption process. Required for decryption.