Generating a new HD wallet root key
api/v1
Last updated
api/v1
Last updated
Request Body - Content-Type: application/json;charset=utf-8
Please check Appendix > Language Support for more information. $language is not case-sensitive.
Response - 200 OK, application/json
Response Error Table
POST/api/v1/HDWallet
Example request body
Example request
Response (Success)
Parameter
Type
Required
Description
rootKey
string
No
Root key generated from the mnemonic. If present, response will only contain this root key.
mnemonic
string
No
A 12- to 24-word BIP39 phrase to seed your wallet's root key
language
string
No
Regional language to generate your wallet's mnemonic phrase (Default: English)
passphrase
string
No
Passphrase of your HD wallet
index
number
No
The index of the HD wallet to lookup. If present, a specific wallet address will be returned from this HD wallet.
Parameter
Type
Description
rootKey
string
Root key generated from the mnemonic. If present, response will only contain this root key.
mnemonic
string
A 12- to 24-word BIP39 phrase to seed your wallet's root key
language
string
Regional language to generate your wallet's mnemonic phrase (Default: English)
index
string
Index of the HD wallet (Present if index
parameter is sent in the request)
address
number
The generated Hycon wallet address. (Present if index
parameter is sent in the request
Status
Error
Message
400
INVALID_PARAMETER
mnemonic or language is invalid/mismatched
404
NOT_FOUND
the resource cannot be found / currently unavailable