Create Encrypted Wallet

create encrypted wallet

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

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)

Last updated