Change wallet passphrase

Created by Admin KL, Modified on Fri, 16 Feb 2024 at 10:23 PM by Admin KL

You can use the API endpoint implementation or the JavaScript SDK

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

ParameterTypeDescription
Content-TypeStringapplication/json
AuthorizationStringBearer <your api key>
wallet_nameStringThe name of the wallet to create
oldpassphraseStringCurrent passphrase of the wallet
newpassphraseStringNew wallet passphrase; must be 12 words separated by spaces

Endpoint: /api/Wallet/Litecoin/change-passphrase

Method: POST

Responses:

  • 200: OK - Successfully changed passphrase


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

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 atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article