Send Token

Send token from one address to the other

Send Fungible Token

POST /api/FungibleTokens/wallet-SendToken

A post request to send a token from one address to another on the Litecoin Blockchain.

Headers

NameTypeDescription

Content-Type

application/json

Authorization*

Bearer <your API key>

API access key

wallet*

String

The wallet to hold the token

encryptedpassphrase*

String

Encrypted key of the wallet to hold the token

Usev2*

String

Value should be yes or true

Request Body

NameTypeDescription

propertyid*

string

Property Identifier to which the token belong.

amount*

string

amount to token to be sent

fromaddress*

string

sending address

toaddress*

string

address to receive the token

Create SDA (Alias NFT) with Javascript SDK

Liaas SDK package installation

/** 
 * send a Token to another address on the Litecoin Blockchain
 **/
 
 //all the parameters specified here are small as all the parameters in API implementation
 //pass your API key and the created wallet name and encrypted key
const response = await liaasSdk.sendToken(
apiAccessKey,
wallet,
encryptedkey,
amount,
propertyid,
fromaddress,
toaddress);

Last updated