Validate Metadata File
Validate excel file content
The service accepts excel file which contains your Nft Metada informations and returns validated form of metadatas as JSON format. You can use the response data in the batch create nft item service.
post
{{server-url}}
/nft-items/file/validate
Validate Metadata File
{
"data": [
{
"contractType": "ERC721",
"name": "r/place - 1",
"description": "Reddit r/place 2022 Edition - 1",
"url": "https://stagingnftgift.s3.eu-west-1.amazonaws.com/1649243914981",
"totalSupply": 1,
"categoryNameList": ["Yellow", "Green"],
"attributes": [
{
"traitType": "Color",
"value": "yellow",
"icon": "https://icons.io/colorpalette.png"
}
]
},
{
"contractType": "ERC721",
"name": "r/place - 1",
"description": "Reddit r/place 2022 Edition - 1",
"url": "https://stagingnftgift.s3.eu-west-1.amazonaws.com/1649243914981",
"totalSupply": 1,
"categoryNameList": ["Yellow", "Green"],
"attributes": [
{
"traitType": "Color",
"value": "yellow",
"icon": "https://icons.io/colorpalette.png"
}
]
},
{
"contractType": "ERC721",
"name": "r/place - 1",
"description": "Reddit r/place 2022 Edition - 1",
"url": "https://stagingnftgift.s3.eu-west-1.amazonaws.com/1649243914981",
"totalSupply": 1,
"categoryNameList": ["Yellow", "Green"],
"attributes": [
{
"traitType": "Color",
"value": "yellow",
"icon": "https://icons.io/colorpalette.png"
}
]
}
],
"message": null,
"code": 0,
"error": false
}
Column | Description |
---|---|
First Column - Contract Type | Represents which contract you will create Nft on. (It can be ERC721 or ERC1155 for this operation) |
Second Column - Name | Represents Nft item's name |
Third Column - Description | Represents Nft item's description |
Fourth Column - Url | Represents Nft item's content url |
Fifth Column - Total Supply | Represents count of Nft Item. |
Sixth Column - Categories | Represents Nft Item's categories. We will expect of the name information of the categories. You should split the categories with | |
Rest of columns - Attribute | Represents Nft Item's attributes. You can add multiple Attribute column. We expect specific format for the attribute column. You should split the informations with | |
Key | Type | Description |
---|---|---|
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. |
categoryIdList | 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. |
Last modified 25d ago