Encrypt Wallet

Created by Admin KL, Modified on Wed, 21 Feb at 1:44 PM by Admin KL

/api/Wallet/Litecoin/Encrypt-wallet

Kakr Litecoin as a Service API Spec Compatibility

The purpose of this endpoint is to enable the developer to input a set of 12-word mnemonics. These mnemonics serve as the encryption key for the wallet and are used to generate a lengthy Encrypted key. The public key generated can then be utilized to create an address within that specific wallet.

Create Encrypted Wallet API Call

FieldValue
MethodPOST
Endpoint/api/Wallet/Litecoin/Encrypt-wallet
Content-Typeapplication/json
AuthorizationBearer <your api key>
Body Parameterpassphrase
Description12 words length characters separated with space

Response: 200: OK - Success! Wallet Encrypted

Kakr LiaaS users looking to utilize the Litecoin Blockchain Services API can do so from our dedicated API endpoint base URL:

https://kakromnilayer.io

Encrypt wallet using SDK

Liaas SDK package installation
/** 
 * Secure your created wallet by encrypting it with a 12-word mnemonic phrase, and receive an encrypted key as the return value.
 **/
 
 //Encrypt the wallet with the 12 passphrases
 //pass your API key and the created wallet name
const response = await liaasSdk.encryptWallet(
apiKey,
walletName,
passphrase);


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article