An anchor is a pair of:

  • a URL to a JSON payload of metadata.
  • a hash of the contents of the metadata URL.

The on-chain rules will not check either the URL or the hash. Client applications should, however, perform the usual sanity checks when fetching content from the provided URL.

Hierarchy

  • Anchor

Constructors

Properties

#dataHash: Hash32ByteBase16
#originalBytes: undefined | HexBlob = undefined
#url: string

Methods

Generated using TypeDoc