interface · Browser and Node

# CircuitArtifacts

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

Import:

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

## Declaration

interface:

```ts
interface CircuitArtifacts {
  id: string;
  depth: number;
  /** nargo's compiled program: bytecode and ABI. */
  circuit: CompiledCircuit;
  /** The UltraHonk verification key, for the zero-knowledge noir-recursive target. */
  vk: Uint8Array;
  /** Hex SHA-256 of `vk`. */
  vkHash: string;
  gates: number;
  /** CRS points the prover needs. */
  crsPoints: number;
}
```

## Properties

**`id` (required)**

`string`

**`depth` (required)**

`number`

**`circuit` (required)**

`CompiledCircuit`

nargo's compiled program: bytecode and ABI.

**`vk` (required)**

`Uint8Array<ArrayBufferLike>`

The UltraHonk verification key, for the zero-knowledge noir-recursive target.

**`vkHash` (required)**

`string`

Hex SHA-256 of `vk`.

**`gates` (required)**

`number`

**`crsPoints` (required)**

`number`

CRS points the prover needs.

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