Signature:

export interface Trait {
    traitType?: string;
    value?: string;
    displayType?: string;
    traitCount?: string;
}

Parameters:

ParameterRequired?TypeDescription
traitTypeFalseStringThe type of the trait, ex: boost
valueFalseStringThe value of the trait, ex: 5
displayTypeFalseStringChain the transaction will be executed on.
traitCountFalseStringThe number of items having the trait.

Function Reference

📘