# createProverKey

> For the complete documentation index, see [llms.txt](https://docs.midnight.network/llms.txt)

[**Midnight.js API Reference v4.1.0**](https://docs.midnight.network/api-reference/midnight-js.md)

***

[Midnight.js API Reference](https://docs.midnight.network/api-reference/midnight-js/packages.md) / [@midnight-ntwrk/midnight-js-types](https://docs.midnight.network/api-reference/midnight-js/@midnight-ntwrk/midnight-js-types.md) / createProverKey

# Function: createProverKey()

> **createProverKey**(`uint8Array`): [`ProverKey`](https://docs.midnight.network/api-reference/midnight-js/@midnight-ntwrk/midnight-js-types/type-aliases/ProverKey.md)

Creates a branded prover key representation from a prover key binary.

## Parameters[​](#parameters "Direct link to Parameters")

### uint8Array[​](#uint8array "Direct link to uint8Array")

`Uint8Array`

The prover key binary.

## Returns[​](#returns "Direct link to Returns")

[`ProverKey`](https://docs.midnight.network/api-reference/midnight-js/@midnight-ntwrk/midnight-js-types/type-aliases/ProverKey.md)
