NFT templates are the first step to creating NFTs on the Momint API. You create an NFT template to give the Momint API all the information to know how to mint your NFT. It also allows you to create many of the same NFTs very easily.

Template Endpoints

Create NFT Template

Mint an NFT

Mint and Send NFT

Send Next Available NFT

Get NFT Templates

Get NFT Template

Get NFTs Minted from specified NFT Template

Get NFT Minted from specified NFT Template

Example NFT Template

{
  "id": "nt_619e2d2296cbc218bf6f4256",
  "metadata": {
    "name": "First NFT",
    "description": "My first NFT",
    "attributes": [
      {
        "trait_type": "trait_type",
        "display_name": "display_name",
        "value": "value"
      },
      {
        "trait_type": "trait_type",
        "display_name": "display_name",
        "value": "value"
      }
    ],
    "image": "<https://ipfs.io/ipfs/QmTC98d4e3tHoNS62LXy1BezGAU5m5Vx58Brt9VJBgCTbN>",
    "animation_url": "https://animation_link.com"
  },
  "files": [
    {
      "metadata_field": "image",
      "file": {
        "id": "fl_61b1d2ee3fba11a438bc9e17",
        "hash": "QmTC98d4e3tHoNS62LXy1BezGAU5m5Vx58Brt9VJBgCTbN",
        "fileService": "IPFS",
        "fileType": "jpg",
        "links": {
          "original": "<https://original.jpg>",
          "large": "<https://large.jpg>",
          "small": "<https://small.jpg>"
        }
      }
    }
  ],
  "maxEditions": 20,
  "editionsMinted": 0,
  "burnable": true,
  "contract": {
    "blockchain": "XDAI",
    "contractAddress": "0xc0000fa5029d32f9a9d4bd179f8a6aca94e"
  },
  "rights": "PERSONAL",
  "priceSettings": {
    "type": "FLAT_RATE",
    "price": 1
  },
  "listOnMomintMarketplace": true
}

NFT template variables explained

Metadata

Metadata is the actual data that goes onto the blockchain

animation_url URL to a multi-media attachment for the NFT. optional
image URL to the image of the item. Attach the file id returned from the https://momint.notion.site/API-Endpoint-List-5500569953b34cba82bc67f71e89314b optional
attributes You can define a set of attributes that will be inherited by NFTs minted from the NFT Template. optional
name Add a name of the NFT. required
description Add a description of the NFT. optional

Other Properties