Skip to main content

Attribute

The Attribute object represents metadata properties for NFTs.

Schema Definition

type Attribute {
traitType: String
value: String
displayType: String
maxValue: Int
order: Int
}

Fields

FieldTypeDescription
traitTypeString scalarThe category or type of attribute, used to group similar attributes across a collection.
valueString scalarThe specific value of the attribute, can be text or numeric values represented as strings.
displayTypeString scalarHow the attribute should be rendered in UIs.
maxValueInt scalarMaximum possible value for numeric attributes. Only relevant when displayType is numeric.
orderInt scalarSort order for displaying attributes. Lower numbers appear first.

Member Of

Metadata object ● MetadataReference object