function fetchMetadata
fetchMetadata(origin: string): Promise<InstanceMetadata>

Returns the metadata of the instance at origin, its issuer, cached. It must name origin as its issuer and speak this protocol's version.

Parameters

origin: string

Return Type

Throws

Error

When it can't be reached or isn't a gerbeur instance.

Usage

import { fetchMetadata } from "api/remote/gerbeur-instance.ts";