transferNft
This function transfers the NFT ownership to a target address.
Parameters
nftId <string> - NFT ID to transfer
qty <number> - Quantity of NFT balance to transfer
target <string> - Target address to transfer ownership to
[Optional] reward <string> - Custom reward for smartweave transaction
Example Code
In the below code example, change the nftID
& targetAddress
as per your transfer requirements.
Example Code Output
Returns
Promise <string> - Arweave transaction ID of the NFT transfer transaction.
Last updated