Class: EvmNormalizedMetadataAttribute
moralis-monorepo / @moralisweb3/common-evm-utils / EvmNormalizedMetadataAttribute
Class: EvmNormalizedMetadataAttribute
@moralisweb3/common-evm-utils.EvmNormalizedMetadataAttribute
Table of contents
Methods
Properties
Methods
create
▸ Static
create(input
): EvmNormalizedMetadataAttribute
Parameters
Name | Type |
---|---|
input | EvmNormalizedMetadataAttributeInput | EvmNormalizedMetadataAttribute |
Returns
EvmNormalizedMetadataAttribute
fromJSON
▸ Static
fromJSON(json
): EvmNormalizedMetadataAttribute
Parameters
Name | Type |
---|---|
json | EvmNormalizedMetadataAttributeJSON |
Returns
EvmNormalizedMetadataAttribute
toJSON
▸ toJSON(): EvmNormalizedMetadataAttributeJSON
Returns
EvmNormalizedMetadataAttributeJSON
Properties
displayType
• Optional
Readonly
displayType: string
Description
The type the attribute value should be displayed as
maxValue
• Optional
Readonly
maxValue: number
Description
For numeric values, the upper range
order
• Optional
Readonly
order: number
Description
Order the trait should appear in the attribute list.
traitCount
• Optional
Readonly
traitCount: number
Description
The number of possible values for this trait
traitType
• Optional
Readonly
traitType: string
Description
The trait title or descriptor
value
• Optional
Readonly
value: object
Description
The value of the attribute