Trait
This page describes a trait/attribute for an NFT

Signature

1
export interface Trait {
2
traitType?: string;
3
value?: string;
4
displayType?: string;
5
traitCount?: string;
6
}
Copied!

Parameters

Parameter
Required
Type
Description
traitType
False
String
The type of the trait, ex: boost
value
False
String
The value of the trait, ex: 5
displayType
False
String
Chain the transaction will be executed on.
traitCount
False
String
The number of items having the trait

Function Reference

​