Create Encrypted Wallet

create encrypted wallet

Kakr Omni Layer Services API Spec Compatibility

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 Encrypted Wallet

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 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

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

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