Attribute
A single attribute or trait of an NFT, typically used for rarity calculations and filtering. Follows the OpenSea metadata standard for attributes.
Schema Definition
type Attribute {
traitType: String
value: String
displayType: String
maxValue: Int
order: Int
}
Fields
| Field | Type | Description |
|---|---|---|
traitType | String scalar | The trait category (e.g., 'Background', 'Eyes', 'Hat', 'Rarity Score'). |
value | String scalar | The trait value (e.g., 'Blue', 'Laser Eyes', 'Cowboy', '95'). |
displayType | String scalar | How to display this attribute in UIs (e.g., number, date, boost_percentage, boost_number). |
maxValue | Int scalar | Maximum possible value for numeric traits, used to display progress bars or gauges. |
order | Int scalar | Suggested display order for this attribute relative to others. |
Member Of
Metadata object