Unlock a wallet
POST/wallet/unlock
Unlock HD Wallet or Keypair Wallet, depending on the parameters sent. For Keypair Walletwe need the password and for HD Wallet the passphrase and the words (optional)
Request
- application/json
Body
required
Data to unlock your wallet
words string
24 words for HD Wallet
passphrase string
Passphrase for HD Wallet (can be empty string)
password string
Password to unlock keypair wallet
Responses
- 200
Success
- application/json
- Schema
- success_hd
- success_keypair
- error_hd
- error_keypair
Schema
any
HD Wallet unlocked
{
"success": true,
"words": "yellow viable junk brand mosquito sting rhythm stumble cricket report circle elite gasp kingdom spy capable beach peanut plastic finish robot venue mixture talent"
}
Keypair Wallet unlocked
{
"success": true
}
Error unlocking HD wallet
{
"success": false,
"message": "Invalid words"
}
Error unlocking keypair wallet
{
"success": false,
"message": "Invalid password"
}
Loading...