toip.tools

interface · Browser and Node

MembershipProof

A proof in a JSON-safe form, as it travels.

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

Declaration

TypeScriptinterface
interface MembershipProof {
  v: 1;
  system: typeof PROOF_SYSTEM;
  circuit: string;
  vkHash: string;
  statement: StatementJson;
  nullifier: string;
  /** base64url of the UltraHonk proof, about 14.7 KB. */
  proof: string;
}

Properties

vrequired
1
systemrequired
"ultrahonk-zk/noir-recursive"
circuitrequired
string
vkHashrequired
string
statementrequired
StatementJson
nullifierrequired
string
proofrequired
string

base64url of the UltraHonk proof, about 14.7 KB.