# parseScheduledRemovals

> **parseScheduledRemovals**(`data`): readonly `bigint`[]

Defined in: [packages/synapse-core/src/pdp-verifier/get-scheduled-removals.ts:129](https://github.com/FilOzone/synapse-sdk/blob/2c6009e4cfd1a103925289682951d4b63792c55d/packages/synapse-core/src/pdp-verifier/get-scheduled-removals.ts#L129)

Parse the contract output into a [getScheduledRemovals.OutputType](/reference/filoz/synapse-core/pdp-verifier/namespaces/getscheduledremovals/type-aliases/outputtype/). Deduplicates the output.

## Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `data` | readonly `bigint`[] | The contract output from the getScheduledRemovals function getScheduledRemovals.ContractOutputType |

## Returns

readonly `bigint`[]

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