Wallet Transaction Builder

Created by Admin KL, Modified on Thu, 16 Oct at 12:12 PM by Admin KL

Send LTC from wallet

Send LTC from wallet to designated address (API reference)

POST /api/Litecoin/wallet-transaction-builder

This post request sends Litecoin from wallet to a destinated address.

Note: This endpoint does not guarantee that change would reflect back to the same address of the wallet. It can go to any random address in the same wallet. In order to decide your change address, Please use Wallet Transaction Builder V4.

Headers

Name
Type
Description

Content-Type

application/json

Authorization*

Bearer <your api key>

Attach your API key here

encryptedpassphrase*

String

Encrypted key

wallet*

String

Wallet name

Usev2*

String

Value should be true or yes

Request Body

Name
Type
Description

toAddress*

String

Receiver's address

amount*

Float

Amount to send

transactionDescription*

String

Transaction description or comment

amountIncludeFees

boolean

This indicates whether the transaction fee should be deducted from the amount being transferred or not.

recipientName

String

Recipient Name

200: OK LTC sent successfully

Send LTC with Javascript SDK

Liaas SDK package installation

/** 
 * send a LTC to another address
**/
 
//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.sendLtcFromWalletAddress(nodeUrl_or_apiAccessKey,
walletName,
encryptedpassphrase,
recipientAddress,
amount,
comment,
senderAddress);

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article