# acpBindingHash

acpBindingHash in @provenanceauth/rails/acp, Rails. Sha256(canonical JSON) of the binding, the value a bound token carries as `payload_hash`.

## Signature

```ts
acpBindingHash(b: AcpBinding): Promise<string>
```

## Parameters

- `b` (AcpBinding)

## Returns

`Promise<string>`

Runs locally, with no request to the API.
