Create Wallet

You can use the API endpoint implementation or the JavaScript SDK

Kakr LiaaS 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 postman.

Create Wallet (API reference)

POST /api/Wallet/createwallet

A post request to create a wallet on the Litecoin Blockchain

Run on Postman

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:

Base URL

https://pteri.xyz

Javascript SDK Implementation

You can use the npm package with full type-safety, this approaches provide the same level of end functionality with the API endpoint, so which one you choose will be based on your preference and what works best for your project.

Install Liaas-lib
/** 
 * npm install @liaas-lib
 **/
 
const LiaaS = require("liaas-lib");

const liaasSdk = new LiaaS();
//Create a wallet on the Litecoin blockchain
//pass your API key and wallet name to be created
const response = await liaasSdk.createWallet(apiAccessKey, walletName);

Once you've included the script or package, you can initialize the Web SDK and integrate it with our Litecoin blockchain solutions suite.

Create wallet

//Create a wallet on the Litecoin blockchain
//pass your API key and wallet name to be created
const response = await liaasSdk.createWallet(apiAccessKey, walletName);

Last updated