toip.tools

type · Browser and Node

VerifyResult

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

Declaration

TypeScripttype
type VerifyResult =
  | { ok: true; nullifier: Field; statement: Statement }
  | { ok: false; reason: "malformed" | "unknownCircuit" | "statementMismatch" | "proofInvalid" };