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

# buildInstallPayload()

> **buildInstallPayload**\<`C`>(`account`, `root`, `componentTypeIndex`, `installInputBytes`, `factory`, `origin?`): [`InstallPayload`](/reference/sdk/typescript/index/classes/InstallPayload)\<`C`>

Defined in: [metacomputer/gen-framework/client-and-test-utils/client-sdk-ts/packages/client-sdk/src/payloads/lifecycle.ts:419](https://github.com/gen-bc/gen/blob/main/metacomputer/gen-framework/client-and-test-utils/client-sdk-ts/packages/client-sdk/src/payloads/lifecycle.ts#L419)

## Type Parameters

### C

`C` *extends* [`ContractClient`](/reference/sdk/typescript/index/interfaces/ContractClient)

## Parameters

### account

[`GvmAccount`](/reference/sdk/typescript/index/type-aliases/GvmAccount)

### root

`BrandedInstance`

### componentTypeIndex

`number`

### installInputBytes

`Uint8Array`

### factory

[`ClientFactory`](/reference/sdk/typescript/index/type-aliases/ClientFactory)\<`C`>

### origin?

[`CallerIdentity`](/reference/sdk/typescript/index/type-aliases/CallerIdentity)

## Returns

[`InstallPayload`](/reference/sdk/typescript/index/classes/InstallPayload)\<`C`>
