⛏️mintNFT
Description
The mintNFT
function allows for the creation of a new NFT (non-fungible token) using the Metaplex library and returns the newly created NFT
Parameter
Parameter | Type | Description |
---|---|---|
| string | Private key of the user's account |
| string | URI of the NFT |
| string | Name of the NFT |
| string | Symbol of the NFT |
Response
Property | Type | Description |
---|---|---|
| string | URI of the created NFT |
| string | Name of the created NFT |
| string | Symbol of the created NFT |
| string | Public key of the user's account |
| string | Metadata of the created NFT including its image |
Example Request and Response
Prerequisites
Before making requests with NEST® SDK, you must have it installed.
You can install NEST® SDK using either npm
or yarn
. Use the following commands to install NEST® SDK:
Request
Here is an example of how to make a mintNFT
request using the NEST® SDK:
Response
Use Cases
Digital Art Marketplaces: Digital art marketplaces can leverage this function to create NFTs for digital artworks.
Gaming Platforms: Gaming platforms can utilize the mintNFT function to create NFTs for in-game items, virtual assets, and collectibles.
Music and Media Industry: The music and media industry can make use of the mintNFT function to create NFTs for unique digital assets such as songs, videos, and other digital content.
Last updated