Skip to main content

Metadata

Metadata is the metadata of the NFT written to the Merkle Map

Hierarchy

  • { data: Field; kind: Field }
    • Metadata

Index

Constructors

Properties

Methods

Constructors

externalconstructor

  • new Metadata(value: { data: Field; kind: Field }): Metadata
  • Parameters

    • externalvalue: { data: Field; kind: Field }

    Returns Metadata

Properties

data

data: Field = Field

The root of the Merkle Map of the data or data itself if it is a leaf

kind

kind: Field = Field

The root of the Merkle Map of the kind or kind itself if it is a leaf. Kind can be one of the "string" or "text" or "map" or "image" or any string like "mykind"

Methods

staticassertEquals

  • Asserts that two Metadata objects are equal


    Parameters

    Returns void