PaintSwap
Search…
Metadata
Describes the rich metadata support for NFTs on PaintSwap

Standard Metadata

PaintSwap follows the metadata standard defined by OpenSea. Currently, the following fields from this standard are displayed:
  • name
  • description
  • image
  • animation_url
  • external_uri
    • If {id} is included in the this field, we replace it with the hex-padded token ID, so you don't have to generate a different external_uri for each asset of your collection
  • attributes

Custom metadata

We have also added custom support for displaying rarity/frequency for attributes:
1
attributes: [
2
{
3
trait_type: 'background',
4
value: 'red',
5
frequency: '2.65%', // Percentage string fixed to 2 decimals
6
count: 8, // Not currently used but good to have
7
}
8
]
Copied!
Attributes displayed with rarity
Last modified 1mo ago