toip.tools

type · Browser and Node

RootLogCheck

@toip-tools/anon-membershipView source
TypeScriptImport
import { type RootLogCheck } from "@toip-tools/anon-membership";

Declaration

TypeScripttype
type RootLogCheck =
  | { ok: true; head: GroupRoot }
  | { ok: false; reason: "signature" | "issuer" | "chain" | "equivocation"; evidence?: [GroupRoot, GroupRoot]; detail?: string };