SendNFT

Description

Send an NFT to the destination address.

Declaration

public static void SendNFT(string destinationAddress, string collectionIdentifier, ulong nftNonce, int quantity, UnityAction<CompleteCallback<string[]>> completeMethod)

Parameters

Name
Description

destinationAddress

The address to send the NFT to.

collectionIdentifier

The collection ID.

nftNonce

Nonce of the NFT in decimal format.

quantity

Number of units to send.

completeMethod

Callback to track the status of the transaction. At complete, the message will be the transaction hash.

Check the following image for a better understanding of how to get the parameters:

The nonce parameter shown is in hex format, and it is needed in the decimal format, so use an external converter like this to get it: Hex to Decimal Converter 19 in decimal = 25

Example

Last updated