[]previous and next page

chainHead

The head tags and JSON-LD blocks of a resolved chain.

The head tags and JSON-LD blocks of a resolved chain.

Import#

ts
import { chainHead } from "@shadow-js/dusk/server";

Signature#

ts
function chainHead(chain: ResolvedChain): HeadOutput

Parameters#

Name Description
chain What resolveChain returned.

Returns#

The head output (tags in document order, and the JSON-LD texts).