NFT Metadata
On-chain metadata
We support the `TokenMetadata` from NEP-177 version 1.0.0 [1]
Description of the metadata that will show up on Paras
title
: The name of this NFTdescription
: A longer description of the token.media
: URL to associated media. Preferably to decentralized, content-addressed storage. If you havebase_uri
on your contract metadata, it will be prepended tomedia
.copies
: The number of tokens with this set of metadata ormedia
known to exist at the time of minting. This will be shown on Paras ascopies
extra
: anything extra the NFT wants to store on-chain. Can be stringified JSON. You can putattributes
here which will be explained later.reference
: URL to an off-chain JSON file with more info. You can put more info or anything from on-chain metadata to be replaced with the ones onreference
Non-standard metadata
You can put the non-standard metadata as on-chain extra
or inside JSON file in reference
.
Attributes
Attributes that will be shown on each NFT, e.g.
Animation URL
animation_url
: URL to multimedia attachment. If you havebase_uri
on your contract metadata, it will be prepended toanimation_url
. We useanimation_url
for the newly supported audio NFTs with .MP3, .AAC, and .WAV formats.
Collection Info (only if you are using shared NFT contract)
If you are using x.paras.near
or paras-token-v1.testnet
you need to put these inside the reference JSON. You need to create a collection first using Paras UI or API.
collection
: collection name, e.g. "Genesis"collection_id
: collection id, e.g. "genesis-by-parasnear"creator_id
: creator NEAR wallet address, e.g. "paras.near"
Last updated