function · Browser and Node

# fieldToHex

"0x" and 64 lowercase hex digits, big-endian.

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

Import:

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

## Declaration

Signature:

```ts
fieldToHex(f: Field): string;
```

### Parameters

- **`f` (required)**: `bigint`

### Returns

`string`

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