Create Encrypted Wallet

Created by Admin KL, Modified on Mon, 7 Oct at 4:22 PM by Admin KL

The Kakr LiaaS blockchain service is a standardized specification for developers building on top of Kakr LiaaS that allows an application to perform an entire Litecoin wallet system's actions without needing to learn that pinning service's unique API.

Create an Encrypted Wallet (API reference)

POST /api/Wallet/create-encrypted-wallet

A post request to create an encrypted wallet, the difference is that this is a single endpoint that merges the two endpoints (Create wallet and Encrypt wallet) operation together to create a wallet on the Litecoin Blockchain

Headers

NameTypeDescription

Content-Type

String

application/json

Authorization*

Bearer <your api key>

Attach you API key here

Usev2*

String

Value should be true or yes

Request Body

NameTypeDescription

wallet_name*

String

type the name of the wallet you want to create

200: OK Successfully Wallet Created

Create Encrypted Wallet

Liaas SDK package installation

/** 
 * This combines the operation of creating a wallet and encrypting the wallet as a separate operation
 **/
 
 //pass your API key and the wallet name
 //This returns the passphrase and the encrypted key of the wallet.
const response = await liaasSdk.createEncryptedWallet(
apiAccessKey,
walletName)

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