NFT metadata is a set of descriptive information about an NFT, typically stored in a JSON file, which includes the name, description, and traits of the asset
It often contains a link to the actual digital asset (like an image or video) that is stored off-chain because storing large files directly on a blockchain is very expensive. Without this metadata, the NFT would just be an meaningless string of characters on the blockchain.
What NFT metadata contains
- Name: The title of the NFT.
- Description: A short explanation of the NFT's story or purpose.
- Image/Animation URL: A link to the associated visual or multimedia asset.
- Attributes/Traits: Specific characteristics that define the NFT, such as color, rarity, or abilities.
- Creator Details: Information about the original creator to establish trust and provenance.
- External URL: A link to a website for more information.
- Background Color: A color that can be used for the item's background in marketplaces like OpenSea.
How it works
- An NFT on the blockchain is a token that holds a unique ID and a reference to its metadata file, often a JSON file.
- This metadata file is where all the details that make the NFT unique are located.
- Marketplaces and wallets read this JSON file to understand and display all the properties of the NFT, such as its image, attributes, and history.