Send Litecoin

Send LTC from wallet

Send LTC from one address to another (API reference)

POST /api/Litecoin/wallet-transaction-builder

This post request sends Litecoin from one address to a destinated address

Headers

NameTypeDescription

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

NameTypeDescription

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

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, wallet name, and the encrypted key
const response = await liaasSdk.sendLtcFromWalletAddress(apiAccessKey,
walletName,
encryptedpassphrase,
recipientAddress,
amount,
comment,
senderAddress);

Last updated