Metadata

Questions? Contact us at www.crossmint.io/support

Polygon

On Polygon, this API is designed to handle requests based on the ERC-1155 metadata standard. The fields that are strictly required to be set in requests are name and image, but in order for your NFT to be supported on other third-party sites it is recommended to follow the ERC-1155 standard.

📘

Rich metadata on ERC721 & ERC1155 NFT's:

The Mint API natively supports rich metadata within ERC 721 and ERC 1155, including audio, video and/or HTML. Populate the animation_url field as per the OpenSea metadata spec: Metadata Structure

Solana

All fields specified in the MetadataJson interface defined here are supported by this API.

Example usage:

...
    "recipient": "sol:3Q5Ua7XQCdFZhgQGiDCzbLLJnx4AzfE658JvPQALxMSs"
    "metadata": {
        "name": "TEST NFT",
        "symbol": "TESTS",
        "description": "This is a test NFT",
        "seller_fee_basis_points": 5000,
        "image": "https://www.arweave.net/I5Hh_7aHWH21giaelic-Tah1p3kwA71fFur4yw5Bcls?ext=png",
        "attributes": [
            {
                "trait_type": "sun_size",
                "value": "l"
            },
            {
                "trait_type": "sun_pos",
                "value": "center"
            },
            {
                "trait_type": "terrain",
                "value": "flat"
            },
            {
                "trait_type": "palette",
                "value": "oliveth"
            },
            {
                "trait_type": "random_seed",
                "value": 61
            },
            {
                "trait_type": "rings",
                "value": 1
            },
            {
                "trait_type": "star_intensity",
                "value": "high"
            },
            {
                "trait_type": "moons",
                "value": 2
            },
            {
                "trait_type": "weather",
                "value": "none"
            },
            {
                "trait_type": "wormholes",
                "value": "1236,735"
            },
            {
                "trait_type": "gravity",
                "value": "normal"
            }
        ],
        "properties": {
            "files": [
                {
                    "uri": "https://www.arweave.net/I5Hh_7aHWH21giaelic-Tah1p3kwA71fFur4yw5Bcls?ext=png",
                    "type": "image/png"
                }
            ],
            "category": "image",
            "creators": [
                {
                    "address": "5aBAsMczPrsduMuKBTwbae7SWy5JiMLxVCfzAdYeUFU",
                    "share": 100
                }
            ]
        }
    },
    ...