Batch Create Nft Item

Create multiple Nft items for your specified contract.

Batch Create Nft Item

POST {{server-url}}/nft-items/batch

It returns the Nft item's identifier values.

Headers

NameTypeDescription

Authorization*

String

UUID formatted access token

Content-Type*

String

application/json

PROJECT-ID*

String

UUID formatted projectId information

Request Body

NameTypeDescription

items[i].contractType*

String

Represents which contract you will create Nft on. (It can be ERC721 or ERC1155 for this operation)

items[i].name*

String

Represents Nft item's name

items[i].description*

String

Represents Nft item's description

items[i].url*

String

Represents Nft item's content url

items[i].totalSupply

Number

Represents count of Nft Item.

items[i].categoryNameList

Array

Represents Nft Item's categories

items[i].attributes.traitType

String

Represents attribute's name. You can not add already exist traitType.

items[i].attributes.value

String

Represents attribute's value

items[i].attributes.icon

String

Represents attribute's icon url

{
    // Response
}

Example Response Body

{
    "data": [
        326,
        327,
        328
    ],
    "message": null,
    "code": 0,
    "error": false
}

Last updated