Import Account
Import an existing account from the secret entropy.
Request
Required Param | Purpose | Requirements |
---|---|---|
| The secret mnemonic to recover the account. | The mnemonic must be 24 words. |
| The version number of the key derivation used to derive an account key from this mnemonic. The current version is 2. |
Optional Param | Purpose | Requirements |
---|---|---|
| A label for this account. | A label can have duplicates, but it is not recommended. |
| The next known unused subaddress index for the account. All subaddresses below this index will be created. This can be used to create a large number of subaddresses as a batch request. | |
| The block from which to start scanning the ledger. | |
| Fog Report server url. | Applicable only if user has Fog service, empty string otherwise. |
| Fog Report server ID | Unused |
| Fog Authority Subject Public Key Info. | Applicable only if user has Fog service, empty string otherwise. |
Response
Example
If you attempt to import an account already in the wallet, you will see the following error message:
Last updated