function · Browser and Node

# scopeOf

toField(SHA-256(JCS(\["anon-membership/v1/scope", app, ...parts\]))). Tipline: (dropboxDid, storyId); agora: the forum.

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

Import:

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

## Declaration

Signature:

```ts
scopeOf(app: string, ...parts: ScopePart[]): Field;
```

### Parameters

- **`app` (required)**: `string`
- **`parts` (required)**: `ScopePart[]`

### Returns

`bigint`

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