Interface Anchor

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.

interface Anchor {
    dataHash: string;
    url: string;
}

Properties

Properties

dataHash: string
url: string