# Restore **POST /byron-wallets**
status: stable
Restore a Byron wallet from a mnemonic sentence or encrypted root private key (deprecated). **⚠️ WARNING ⚠️** The construction of random wallet in itself is **deprecated**, in particular the restoration from an encrypted root private key. These endpoints exist to ease migrations from legacy software such as `cardano-sl` but should be avoided by new applications. ## Servers - https://localhost:8090/v2: https://localhost:8090/v2 () ## Parameters ### Body: application/json (object) - **style** (string) - **name** (string) - **passphrase** (string) A master passphrase to lock and protect the wallet for sensitive operation (e.g. sending funds) - **mnemonic_sentence** (array[string(bip-0039-mnemonic-word{english})]) A list of mnemonic words ## Responses ### 415 Unsupported Media Type #### Body: application/json (object) - **message** (string) A descriptive error message. - **code** (string) A specific error code for this error, more precise than HTTP ones. ### 409 Conflict #### Body: application/json (object) - **message** (string) A descriptive error message. - **code** (string) A specific error code for this error, more precise than HTTP ones. ### 406 Not Acceptable #### Body: application/json (object) - **message** (string) May occur when providing an invalid 'Accept' header. - **code** (string) ### 400 Bad Request #### Body: application/json (object) - **message** (string) May occur when a request is not well-formed; that is, it fails to parse successfully. This could be the case when some required parameters are missing or, when malformed values are provided. - **code** (string) ### 201 Created #### Body: application/json (object) - **id** (string(hex)) A unique identifier for the wallet - **balance** (object) Byron wallet's current balance(s) - **assets** (object) Current non-Ada asset holdings of the wallet. The amount of assets available to spend may be less than the total unspent assets due to transaction change amounts which are yet to be fully confirmed (pending). - **discovery** (string) Mechanism used for discovering addresses. - **name** (string) - **passphrase** (object) Information about the wallet's passphrase - **state** (object) Whether a wallet is ready to use or still syncing - **tip** (object) A reference to a particular time slot, and the block height at that point. [Powered by Bump.sh](https://bump.sh)