# pollForDeletePieceStatus

```ts
function pollForDeletePieceStatus(client, options): Promise<TransactionReceipt>;
```

Defined in: [packages/synapse-core/src/warm-storage/pieces.ts:95](https://github.com/FilOzone/synapse-sdk/blob/1d6c4b9fe34534bf1087dfe41491b72be0b46858/packages/synapse-core/src/warm-storage/pieces.ts#L95)

Poll for the delete piece status.

Waits for the transaction to be mined and then polls for the transaction receipt.

## Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `client` | `Client`\<`Transport`, `Chain`\> | The client to use to poll for the delete piece status. |
| `options` | [`PollForDeletePieceStatusOptions`](/reference/filoz/synapse-core/warm-storage/type-aliases/pollfordeletepiecestatusoptions/) | The options for the poll for the delete piece status. |

## Returns

[`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`TransactionReceipt`\>