Sign Wallet message

Created by Admin KL, Modified on Mon, 19 Feb at 9:37 AM by Admin KL

Signing message on Litecoin Blockchain 


This involves using a private key to generate a digital signature for a specific piece of data (the message) to prove ownership or authenticity without revealing the private key itself


NB: Signing a message is only possible using an L address.


 /api/Wallet/Litecoin/sign-wallet-message


Sign Wallet message


Sign Wallet message



ParameterTypeDescription
Walletname*StringThe wallet name
EncryptedkeyStringWallet encrypted key
Content-Type*application/jsonApplication in JSON format
Authorization*Bearer <your Key>Attach your API key here
BodyTypeDescription
message*StringData to be signed
ResponseDescription
200: OKSuccess! Message signed


Sign Wallet message  with Javascript SDK

Liaas SDK package installation

/** 
 * Sign Wallet message on Litecoin Blockchain
 **/
 
 
 //pass your API key, wallet name, and the encrypted key
const response = await liaasSdk.signMessageUsingWallet(
apiAccessKey,
walletName, 
passPhrase, 
address,
message);

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