cURL
curl --request POST \ --url https://api.privy.io/v1/wallets/import/submit \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --header 'privy-app-id: <privy-app-id>' \ --data '{ "wallet": { "address": "0xF1DBff66C993EE895C8cb176c30b07A559d76496", "chain_type": "ethereum", "entropy_type": "private-key", "encryption_type": "HPKE", "encapsulated_key": "BOhR6xITDt5THJawHHJKrKdI9CBr2M/SDWzZZAaOW4gCMsSpC65U007WyKiwuuOVAo1BNm4YgcBBROuMmyIZXZk=", "ciphertext": "PRoRXygG+YYSDBXjCopNYZmx8Z6nvdl1D0lpePTYZdZI2VGfK+LkFt+GlEJqdoi9" }, "owner_id": "rkiz0ivz254drv1xw982v3jq" }'
{ "id": "id2tptkqrxd39qo9j423etij", "address": "0xF1DBff66C993EE895C8cb176c30b07A559d76496", "chain_type": "ethereum", "policy_ids": [], "additional_signers": [], "owner_id": "rkiz0ivz254drv1xw982v3jq", "created_at": 1741834854578, "exported_at": null, "imported_at": null }
Submit a wallet import request.
Basic Auth header with your app ID as the username and your app secret as the password.
ID of your Privy app.
The imported wallet.
The response is of type object.
object