Send Litecoin

Send LTC from wallet

Send LTC from one address to another

POST /api/Litecoin/Send-from-wallet

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

fromAddress*

String

Sender's address

toAddress*

Strimg

Reciever's address

amount*

Float

amount to send

comment*

String

transaction comment

useSingleAddress

boolean

fromAddressPrivKey

String

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