function · Browser and Node

# groupFieldOf

The group id as the circuit sees it: f(utf8(groupId)), as agora's design writes it.

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

Import:

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

## Declaration

Signature:

```ts
groupFieldOf(groupId: string): Field;
```

### Parameters

- **`groupId` (required)**: `string`

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