✒️Sign Wallet message
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
Sign Wallet message (API reference)
POST
/api/Wallet/sign-message
Sign Wallet message
Headers
Name
Type
Description
wallet*
String
The wallet name
Content-Type
application/json
application in JSON format
Authorization*
Bearer <your Key>
attach your API key here
passPhrase*
String
wallet encrypted key
Usev2*
String
Value should be true or yes
Request Body
Name
Type
Description
message*
String
data to be signed
address*
String
Signning Address
Sign Wallet message with Javascript SDK
Liaas SDK package installation
/**
* Sign Wallet message on Litecoin Blockchain
**/
//pass your API key or Node URL, wallet name, and the encrypted key
const response = await liaasSdk.signMessageUsingWallet(
nodeUrl_or_apiAccessKey,
walletName,
passPhrase,
address,
message);
Last updated
Was this helpful?