Skip to main content

Minting

To create and mint an NFT using the Toket API, follow these two steps:

  1. Create a new NFT collection: Use the Create new NFT Collection endpoint to establish a new ERC-721 contract for your NFT collection. You'll need to provide the necessary metadata and parameters in the request body. See docs
note

When creating an NFT collection, it's essential to provide a valid wallet address in the ownerAddress field. This address will serve as the admin wallet for the contract and grant the ability to pause, change access control, and perform other administrative tasks related to the collection.

  1. Mint a new NFT: After setting up the collection, use the Mint NFT from Collection endpoint to mint a new NFT within it. You'll need to supply the NFT's metadata, recipient address, and other required parameters in the request body. See docs

Minting Demo‚Äč