The following sample will show you how to create a NFT on Hedera Hashgraph. We will first generate a request for the end user. Once validated, you will get notified for the NFT's creation success.
Prerequisites
Step 1: Create a NFT
$nft = [/* Name of the Token */ $name ='My NFT'; /* Description of the Token */ $description ='This is a great NFT';/* Category of the Token */ $category ='Digital Art';/* Creator of the Token */ $creator ='NFTMan';/* cid linked to the NFT - From IPFS storage */ $cid ='';/* NFT's Quantity */ $creator =1;]/* Which Account ID issue the NFT's Creation */$fromAccountId ='';/* Custom uniq ID */$uniqId ='';/* Define a Webhook */$webhook ='';$client ->createNFT([ $nft, $fromAccountId, $uniqId,], $webhook);
Find more details on the web hook implementation here
⭐ Congratulations! You have successfully set your NFT for sale !