Create Raw Transaction

Creating a raw transaction on the Litecoin blockchain involves constructing a transaction manually, specifying inputs, outputs, and necessary script operations.

Create a raw transaction (API reference)

POST /api/Litecoin/Create-Raw-LTC-Transactions

This post requests to create a raw transaction on the Litecoin blockchain

Headers

Request Body

Create Raw Transaction with Javascript SDK

Liaas SDK package installation

/** 
 * Create 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, wallet name, and the encrypted key
const response = await liaasSdk.createRawTransaction(
apiAccessKey,
walletName,
encryptedpassphrase,
recipientAddress,
amount,
data,
senderAddress)

Last updated