> ## Documentation Index
> Fetch the complete documentation index at: https://docs.buckspay.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Function: assertPinnedPolicyWasm()

# Function: assertPinnedPolicyWasm()

> **assertPinnedPolicyWasm**(`hashHex`): `void`

Defined in: [packages/accounts/src/policy-account/wasm-pin.ts:11](https://github.com/bucks-pay/buckspay-sdk/blob/43ad599d2776cb5d657043c36847b3318093ccf4/packages/accounts/src/policy-account/wasm-pin.ts#L11)

Throw unless `hashHex` equals the pinned policy-account Wasm hash.

## Parameters

### hashHex

`string`

## Returns

`void`
