Change wallet passphrase

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

You can use the API endpoint implementation or the JavaScript SDK

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.

Change Wallet passphrase (API Reference )

POST /api/Wallet/change-passphrase

A post request to change a wallet passphrase on the Litecoin Blockchain

Headers

NameTypeDescription

Content-Type*

String

application/json

Authorization*

Bearer <your api key>

Attach your API key here

wallet*

String

Wallet name

Usev2*

String

Value should be true or yes

Request Body

NameTypeDescription

oldpassphrase*

String

current passphrase of the wallet

newpassphrase*

String

new wallet passphrase and must be 12 words in combine with white space separating each word

200: OK Successfully changed passpharse

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

https://pteri.xyz

Javascript SDK Implementation 
/** 
 * change wallet passpharse
 **/

//pass your API key and wallet name to be created
const response = await liaasSdk.changeWalletPassphrase(
apiAccessKey,
wallet,
old_passphrase,
new_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