# OptionsType

> **OptionsType** = `object`

Defined in: [packages/synapse-core/src/sp/add-pieces.ts:17](https://github.com/FilOzone/synapse-sdk/blob/dfc87ee376667f790a15f27568f6c5de7afccd19/packages/synapse-core/src/sp/add-pieces.ts#L17)

## Properties

### dataSetId

> **dataSetId**: `bigint`

Defined in: [packages/synapse-core/src/sp/add-pieces.ts:21](https://github.com/FilOzone/synapse-sdk/blob/dfc87ee376667f790a15f27568f6c5de7afccd19/packages/synapse-core/src/sp/add-pieces.ts#L21)

The ID of the data set.

***

### extraData

> **extraData**: `Hex`

Defined in: [packages/synapse-core/src/sp/add-pieces.ts:25](https://github.com/FilOzone/synapse-sdk/blob/dfc87ee376667f790a15f27568f6c5de7afccd19/packages/synapse-core/src/sp/add-pieces.ts#L25)

The extra data for the add pieces. TypedData.signAddPieces

***

### pieces

> **pieces**: [`PieceCID`](/reference/filoz/synapse-core/piece/classes/piececid/)[]

Defined in: [packages/synapse-core/src/sp/add-pieces.ts:23](https://github.com/FilOzone/synapse-sdk/blob/dfc87ee376667f790a15f27568f6c5de7afccd19/packages/synapse-core/src/sp/add-pieces.ts#L23)

The pieces to add.

***

### retryCount?

> `optional` **retryCount?**: `number`

Defined in: [packages/synapse-core/src/sp/add-pieces.ts:29](https://github.com/FilOzone/synapse-sdk/blob/dfc87ee376667f790a15f27568f6c5de7afccd19/packages/synapse-core/src/sp/add-pieces.ts#L29)

The number of retries. Defaults to 2.

***

### retryDelay?

> `optional` **retryDelay?**: `number`

Defined in: [packages/synapse-core/src/sp/add-pieces.ts:31](https://github.com/FilOzone/synapse-sdk/blob/dfc87ee376667f790a15f27568f6c5de7afccd19/packages/synapse-core/src/sp/add-pieces.ts#L31)

The delay with exponential backoff between retries in milliseconds. Defaults to [RETRY\_CONSTANTS.RETRY\_DELAY](/reference/filoz/synapse-core/utils/variables/retry_constants/#retry_delay).

***

### serviceURL

> **serviceURL**: `string`

Defined in: [packages/synapse-core/src/sp/add-pieces.ts:19](https://github.com/FilOzone/synapse-sdk/blob/dfc87ee376667f790a15f27568f6c5de7afccd19/packages/synapse-core/src/sp/add-pieces.ts#L19)

The service URL of the PDP API.

***

### signal?

> `optional` **signal?**: [`AbortSignal`](https://developer.mozilla.org/docs/Web/API/AbortSignal)

Defined in: [packages/synapse-core/src/sp/add-pieces.ts:27](https://github.com/FilOzone/synapse-sdk/blob/dfc87ee376667f790a15f27568f6c5de7afccd19/packages/synapse-core/src/sp/add-pieces.ts#L27)

The signal to abort the request.