type · Browser and Node

# Acceptance

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

Import:

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

## Declaration

type:

```ts
type Acceptance =
  | { ok: true; nullifier: Field; statement: Statement; roots: GroupRoot[]; size: number }
  | { ok: false; reason: AcceptReason; evidence?: [GroupRoot, GroupRoot] };
```

[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/Acceptance/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
