# pollForAddPiecesStatus

```ts
function pollForAddPiecesStatus(options): Promise<AddPiecesSuccess>;
```

Defined in: [packages/synapse-core/src/sp.ts:733](https://github.com/FilOzone/synapse-sdk/blob/1d6c4b9fe34534bf1087dfe41491b72be0b46858/packages/synapse-core/src/sp.ts#L733)

Poll for the add pieces status.

GET /pdp/data-sets/{dataSetId}/pieces/added/{txHash}

## Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `options` | [`PollForAddPiecesStatusOptions`](/reference/filoz/synapse-core/sp/type-aliases/pollforaddpiecesstatusoptions/) | The options for the poll for add pieces status. |

## Returns

[`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[`AddPiecesSuccess`](/reference/filoz/synapse-core/sp/type-aliases/addpiecessuccess/)\>

The add pieces status.