Uploads the metadata to the public IPFS. It offers the address (uri) of the uploaded metadata IPFS and the gateway address (gatewayUrl) that can be accessed via HTTP.
This is the NFT image address. This is the public website address or the public IPFS address for uploading images to IPFS.
string
Y
animationUrl
the address for the NFT animation
string
N
youtubeUrl
the Youtube address
string
N
imageData
the NFT image information
string
N
externalUrl
the external url
string
N
backgroundColor
the background color info of the token (OpenSea)
string
N
attributes
These are the information of the metadata attributes. These contain the additional info that are not described in the metadata.
json
N
attributes.traitType
The names of the items that constitute attributes
string
N
attributes.maxValue
the maximum value of trait
number
N
attributes.value
This is the trait value. It should be less than attributes.maxValue. If attributes.displayType is date, set this value following unix timestamp (seconds) format.
string or number
N
attributes.displayType
This is the display type of the trait. The default value is string. number: numeric type boost_percentage: percentage (OpenSea Boosts) boost_number: numeric (OpenSea Boosts) date: date type (example: Tuesday, January 1st, 2019)
This is the IPFS contents identifier. This is the hash value that is used to identifies the data in IPFS, and it can be found in uri(ipfs://{CID}) or gatewayUrl(https://{GATEWAY_URL}/ipfs/{CID}).
This is the NFT image address. This is the public website address or the public IPFS address.
string
data.metadata.animationUrl
the address for the NFT animation
string
data.metadata.youtubeUrl
the Youtube address
string
data.metadata.imageData
the NFT image information
string
data.metadata.externalUrl
the external url
string
data.metadata.backgroundColor
the background color info of the token (OpenSea)
string
data.metadata.attributes
These are the information of the metadata attributes. These contain the additional info that are not described in the metadata.
json
data.metadata.attributes.traitType
The names of the items that constitute attributes
string
data.metadata.attributes.maxValue
the maximum value of trait
number
data.metadata.attributes.value
This is the trait value. It should be less than data.metadata.attributes.maxValue. If data.metadata.attributes.displayType is date, set this value following unix timestamp (seconds) format.
string or number
data.metadata.attributes.displayType
This is the display type of the trait. The default value is string. number: numeric type boost_percentage: percentage (OpenSea Boosts) boost_number: numeric (OpenSea Boosts) date: date type (example: Tuesday, January 1st, 2019)