Generate / Recover normal wallet or HD wallet with password or passphrase

api/v3

Request to generate a normal wallet or HD wallet. To generate an HD wallet instead of a single-address wallet, pass the HD parameter as true. The index parameter can only be used with HD wallet creation and references the HD wallet address to return in the JSON response.

Request Body - Content-Type: application/json;charset=utf-8

You can create an HD or normal wallet. (You must give $name otherwise it generates random mnemonic)POST/api/v3/wallet

Example request (HD Wallet)

curl -X POST http://localhost:2442/api/v3/wallet \
-H 'Content-Type: application/json;charset=utf-8' \
--data '{"name": "HD_wallet","language": "korean", "HD": true, "passphrase": "is used with mnemonic to generate your wallet", "password": "is used to encrypt wallet file", "index": 3}`

Example request (Single Address Wallet)

curl -X POST http://localhost:2442/api/v3/wallet \
-H 'Content-Type: application/json;charset=utf-8' \
--data '{"name": "HD_wallet","language": "korean", "HD": true, "passphrase": "is used with mnemonic to generate your wallet", "password": "is used to encrypt wallet file", "index": 3}`

Last updated