This object describes the properties of an NFT metadata
Signature
Trait
{
"trait_type": "string"|null,
"value": "string"|null,
"display_type": "string"|null
}
| Method |
Required |
Type |
Description |
trait_type |
false |
enum |
Is the name of the trait |
value |
false |
string |
Is the value of the trait |
display_type |
false |
string |
Is a field indicating how you would like it to be displayed |
{
"name": "string",
"description": "string"|null,
"image": "http://example.com"|null,
"image_preview": "http://example.com"|null,
"image_thumbnail": "http://example.com"|null,
"background_color": "string"|null,
"animation_url": "http://example.com"|null,
"youtube_url": "http://example.com"|null,
"attributes": [
{
"trait_type": "string"|null,
"value": "string"|null,
"display_type": "string"|null
}
]
}
| Method |
Required |
Type |
Description |
name |
true |
string |
Name of the item. |
description |
false |
string |
A human readable description of the item |
image |
false |
url |
This is the URL to the image of the item |
image_preview |
false |
url |
The image of the token to be used when previewing |
image_thumbnail |
false |
url |
The image of the token to be used when showed in an overview (thumbnails) |
background_color |
false |
color |
Background color of the item. Must be a six-character hexadecimal without a pre-pended # |
animation_url |
false |
url |
A URL to a multi-media attachment for the item |
youtube_url |
false |
url |
A URL to a YouTube video |
attributes |
false |
list[Trait] |
These are the attributes for the item |