Wallets

Initialize import

Changed on

Initialize a wallet import. Complete by submitting the import.

post/v1/wallets/import/init

Request

  • Base URL
    https://api.privy.io
  • URL
    https://api.privy.io/v1/wallets/import/init
  • Auth
    HTTP basic

Headers

privy-app-idstring required

ID of your Privy app.

Request body

OR

Response

The encryption public key to encrypt the wallet entropy with.

encryption_type'HPKE' required

The encryption type of the wallet to import. Currently only supports HPKE.

encryption_public_keystring required

The base64-encoded encryption public key to encrypt the wallet entropy with.

Example response

{
  "encryption_type": "HPKE",
  "encryption_public_key": "BDAZLOIdTaPycEYkgG0MvCzbIKJLli/yWkAV5yCa9yOsZ4JsrLweA5MnP8YIiY4k/RRzC+APhhO+P+Hoz/rt7Go="
}

Changes

    • info

      added the new xrpl enum value to the request property /

    • info

      added the new xrpl enum value to the request property /

    • info

      added the new aptos enum value to the request property /

    • info

      added the new aptos enum value to the request property /

    • info

      added the new stellar enum value to the request property /

    • info

      added the new stellar enum value to the request property /

    • info

      added the new sui enum value to the request property /

    • info

      added the new sui enum value to the request property /

    • info

      added the new tron enum value to the request property /

    • info

      added the new tron enum value to the request property /