Sign Transaction
Signing a transaction involves using the private key associated with the input's address to sign the transaction inputs.
Sign a raw transaction (API reference)
Headers
Name
Type
Description
Request Body
Name
Type
Description
Sign Raw Transaction with Javascript SDK
/**
* Sign Raw Transaction on Litecoin Blockchain
**/
//all the parameters specified here are the same as all the parameters in the API implementation
//pass your API key or Node URL, wallet name, and the encrypted key
const response = await liaasSdk.signRawTransaction(
nodeUrl_or_apiAccessKey,
walletName,
encryptedpassphrase,
addressPrivateKey,
txhash);Last updated
Was this helpful?