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
Parameter | Type | Description |
---|---|---|
Walletname* | String | The wallet name |
Encryptedkey | String | Wallet encrypted key |
Content-Type* | application/json | Application in JSON format |
Authorization* | Bearer <your Key> | Attach your API key here |
Body | Type | Description |
---|---|---|
message* | String | Data to be signed |
Response | Description |
---|---|
200: OK | Success! Message signed |
Base URL: https://kakromnilayer.io
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
Feedback sent
We appreciate your effort and will try to fix the article