MetadataValue
Hierarchy
- any
- MetadataValue
Index
Constructors
Methods
Constructors
constructor
Returns MetadataValue
Methods
hash
Computes the Poseidon hash of the metadata value.
Returns Field
The hash as a Field.
staticnew
Creates a new MetadataValue instance.
Parameters
params: { type: MetadataFieldType; value: any }
The parameters including value and type.
type: MetadataFieldType
value: any
Returns MetadataValue
A new MetadataValue.
Represents a metadata value with its type and associated data.