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.
Parameter Type Description Content-Type String application/json Authorization String Bearer <your api key> wallet_name String The name of the wallet to create oldpassphrase String Current passphrase of the wallet newpassphrase String New 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
Feedback sent
We appreciate your effort and will try to fix the article