# createZKIR

> 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) / createZKIR

# Function: createZKIR()

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

Creates a branded ZKIR representation from a ZKIR binary.

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

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

`Uint8Array`

The ZKIR binary.

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

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