Struct Traits
Wrapper view to return all the traits on an NFT. This is used to return traits as individual key/value pairs along with some contextualized data about each trait.
Initializer​
Functions​
addTrait()
​
Adds a single Trait to the Traits view
Parameters:
- Trait : The trait struct to be added