🖊️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 is only possible using an L address.

Sign digital message (API reference)

POST /api/Utility/sign-message

Sign digital message

Headers

NameTypeDescription

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

NameTypeDescription

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, wallet name, and the encrypted key
const response = await liaasSdk.signMessage(message, private key);

Last updated