function · Browser and Node

# loadArtifacts

The committed artifacts for a depth. Only depth 20 is built. Nothing is fetched.

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

Import:

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

## Declaration

Signature:

```ts
loadArtifacts(depth?: number): Promise<CircuitArtifacts>;
```

### Parameters

**`depth` (optional)**

`number`

Default: `20`

### Returns

`Promise<CircuitArtifacts>`

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