Send SDA/NFT

Send SDA/NFT from one address to the other

Send SDA /NFT

POST /api/NonFungibleTokens/SendNFT

A post request to create a fungible token, attach token, store token, and send token 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 NFT/SDA belong.

amountToSend*

String

amount to token to be sent

sender*

String

sending address

receiver*

String

address to receive the token

tokenStart*

String

the first token in the range to set data on

tokenEnd*

String

the last token in the range to set data on

Send SDA (Alias NFT) with Javascript SDK

Liaas SDK package installation

/** 
 * send a SDA 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, wallet name and the encrypted key
const response = await liaasSdk.transferNft(
apiAccessKey,
walletName,
encryptedpassphrase,
collectionId,
tokenStart,
tokenEnd,
amountToSend,
fromAddress,
toAddress);

Last updated