# getScheduledRemovals

> **getScheduledRemovals**(`client`, `options`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<readonly `bigint`[]\>

Defined in: [packages/synapse-core/src/pdp-verifier/get-scheduled-removals.ts:35](https://github.com/FilOzone/synapse-sdk/blob/6cf8b3ed2dd3ae76ed05cb86995d711a08a298a6/packages/synapse-core/src/pdp-verifier/get-scheduled-removals.ts#L35)

Get the scheduled removals for a data set (deduped)

## Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `client` | `Client`\<`Transport`, `Chain`\> | The client to use to get the scheduled removals. |
| `options` | [`OptionsType`](/reference/filoz/synapse-core/pdp-verifier/namespaces/getscheduledremovals/type-aliases/optionstype/) | [getScheduledRemovals.OptionsType](/reference/filoz/synapse-core/pdp-verifier/namespaces/getscheduledremovals/type-aliases/optionstype/) |

## Returns

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

The piece IDs scheduled for removal [getScheduledRemovals.OutputType](/reference/filoz/synapse-core/pdp-verifier/namespaces/getscheduledremovals/type-aliases/outputtype/)

## Throws

Errors [getScheduledRemovals.ErrorType](/reference/filoz/synapse-core/pdp-verifier/namespaces/getscheduledremovals/type-aliases/errortype/)