function · Browser and Node

# actionHash

SHA-256 of an action's JCS form. Approvals and decisions refer to it.

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

Import:

```ts
import { actionHash } from "@toip-tools/mandates";
```

## Declaration

Signature:

```ts
actionHash(a: Action): string;
```

### Parameters

- **`a` (required)**: `Action`

### Returns

`string`

[Usage guide](https://toip.tools/toolkit/mandates/#usage) · [Error handling](https://toip.tools/toolkit/mandates/#errors) · [All exports](https://toip.tools/toolkit/mandates/api/)

---

This is the Markdown version of https://toip.tools/toolkit/mandates/api/actionHash/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
