Create Nft Item

Create your Nft item for your specified contract.

Create Nft Item

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

It returns the Nft item's identifier value.

Headers

NameTypeDescription

Authorization*

String

UUID formatted access token

Content-Type*

String

application/json

PROJECT-ID*

String

UUID formatted projectId information

Request Body

NameTypeDescription

contractType*

String

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

name*

String

Represents Nft item's name

description*

String

Represents Nft item's description

url*

String

Represents Nft item's content url

totalSupply

Number

Represents count of Nft Item.

categoryNameList

Array

Represents Nft Item's categories

attributes.traitType

String

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

attributes.value

String

Represents attribute's value

attributes.icon

String

Represents attribute's icon url

{
    // Response
}

Example Response Body

{
    "data": 326,
    "message": null,
    "code": 0,
    "error": false
}

Last updated