interface · Browser and Node

# MembershipProof

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

`@toip-tools/anon-membership` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/anon-membership/src/prove.ts#L26)

Import:

```ts
import { type MembershipProof } from "@toip-tools/anon-membership";
```

## Declaration

interface:

```ts
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

**`v` (required)**

`1`

**`system` (required)**

`"ultrahonk-zk/noir-recursive"`

**`circuit` (required)**

`string`

**`vkHash` (required)**

`string`

**`statement` (required)**

`StatementJson`

**`nullifier` (required)**

`string`

**`proof` (required)**

`string`

base64url of the UltraHonk proof, about 14.7 KB.

[Usage guide](https://toip.tools/toolkit/anon-membership/#usage) · [Error handling](https://toip.tools/toolkit/anon-membership/#errors) · [All exports](https://toip.tools/toolkit/anon-membership/api/)

---

This is the Markdown version of https://toip.tools/toolkit/anon-membership/api/MembershipProof/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
