🖊️Sign Address 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.

NB: Signing an address message can be done through any type of Litecoin address (except MWEB).

Sign digital message (API reference)

POST /api/Utility/sign-message

Sign digital message

Headers

Name
Type
Description

Content-Type

application/json

application in JSON format

Usev2*

String

Value should be true or yes

Authorization*

Bearer <API Key>

attach your API key here

Request Body

Name
Type
Description

message*

String

data to be signed

privkey*

String

Address private key

Sign a message with Javascript SDK

Liaas SDK package installation

/** 
 * Sign message on Litecoin Blockchain
**/
 
 
//pass your API key or Node URL
const response = await liaasSdk.signMessage(nodeUrl_or_apiAccessKey, message, private key);

Last updated

Was this helpful?