• Platform
  • Solutions
  • Industries
  • Pricing
  • Resources
  • Support
Sign in
See demo
Support›Blockchain DPP
Blockchain DPP

Create JSON metadata for batch blockchain token minting


  • JSON specification for batch minting
  • Root object properties
  • Metadata properties
  • Example JSON file

JSON specification for batch minting

To merge media assets with metadata into NFTs using the PicoNext batch minting capability, create a JSON metadata file according to the specification below. The JSON file should be an array of objects, with each object having the following Root object properties.


Root object properties

Title

Property name: title

Type: String

Required: Yes

Description: The name of your token

Description

Property name: description

Type: String

Required: Yes

Description: A short description of your NFT content

Asset

Property name: asset

Type: String

Required: Yes

Description: The filename of your media asset that you will upload in the Assets section of the PicoNext project page. Include the file extension (e.g.: .jpg, .png, .mp4)

Supply

Property name: supply

Type: Integer

Required: Yes

Description: An integer indicating how many copies of the NFT to produce.

Metadata

Property name: metadata

Type: Array

Required: Yes

Description: An array of objects indicating metadata properties to add to the NFT. See Metadata properties below for details on each object. If you don't want to have any metadata properties on the NFT, pass an empty array: []


Metadata properties

Name

Property name: name

Type: String

Required: Yes, if an object is specified.

Description: The name of the metadata property to add to the NFT (e.g. "location", or "color")

Value

Property name: value

Type: String

Required: Yes, if an object is specified.

Description: The value corresponding to the metadata property named earlier (e.g. "Nashville", or "blue")


Example JSON file

[
  {
    "title": "NFT sample 1",
    "description": "Sneaker example #1",
    "asset": "sneaker1.jpg",
    "supply": 2,
    "metadata": [
      {
        "name": "color",
        "value": "red"
      }
    ]
  },
  {
    "title": "NFT sample 2",
    "description": "Sneaker #2",
    "asset": "sneaker2.jpg",
    "supply": 4,
    "metadata": [
      {
        "name": "color",
        "value": "blue"
      },
      {
        "name": "location",
        "value": "Colorado"
      }
    ]
  }
] 
  • JSON specification for batch minting
  • Root object properties
  • Metadata properties
  • Example JSON file
© 2024 PicoNext, Inc.TermsPrivacy