# PieceStatus

Defined in: [packages/synapse-sdk/src/types.ts:478](https://github.com/FilOzone/synapse-sdk/blob/2c515fb6328c4f7a68ed82653d96ab11299e177d/packages/synapse-sdk/src/types.ts#L478)

Status information for a piece stored on a provider
Note: Proofs are submitted for entire data sets, not individual pieces.
The timing information reflects the data set's status.

## Properties

### dataSetLastProven

> **dataSetLastProven**: [`Date`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date) \| `null`

Defined in: [packages/synapse-sdk/src/types.ts:482](https://github.com/FilOzone/synapse-sdk/blob/2c515fb6328c4f7a68ed82653d96ab11299e177d/packages/synapse-sdk/src/types.ts#L482)

When the data set containing this piece was last proven on-chain (null if never proven or not yet due)

***

### dataSetNextProofDue

> **dataSetNextProofDue**: [`Date`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date) \| `null`

Defined in: [packages/synapse-sdk/src/types.ts:484](https://github.com/FilOzone/synapse-sdk/blob/2c515fb6328c4f7a68ed82653d96ab11299e177d/packages/synapse-sdk/src/types.ts#L484)

When the next proof is due for the data set containing this piece (end of challenge window)

***

### exists

> **exists**: `boolean`

Defined in: [packages/synapse-sdk/src/types.ts:480](https://github.com/FilOzone/synapse-sdk/blob/2c515fb6328c4f7a68ed82653d96ab11299e177d/packages/synapse-sdk/src/types.ts#L480)

Whether the piece exists on the service provider

***

### hoursUntilChallengeWindow?

> `optional` **hoursUntilChallengeWindow**: `number`

Defined in: [packages/synapse-sdk/src/types.ts:492](https://github.com/FilOzone/synapse-sdk/blob/2c515fb6328c4f7a68ed82653d96ab11299e177d/packages/synapse-sdk/src/types.ts#L492)

Time until the data set enters the challenge window (in hours)

***

### inChallengeWindow?

> `optional` **inChallengeWindow**: `boolean`

Defined in: [packages/synapse-sdk/src/types.ts:490](https://github.com/FilOzone/synapse-sdk/blob/2c515fb6328c4f7a68ed82653d96ab11299e177d/packages/synapse-sdk/src/types.ts#L490)

Whether the data set is currently in a challenge window

***

### isProofOverdue?

> `optional` **isProofOverdue**: `boolean`

Defined in: [packages/synapse-sdk/src/types.ts:494](https://github.com/FilOzone/synapse-sdk/blob/2c515fb6328c4f7a68ed82653d96ab11299e177d/packages/synapse-sdk/src/types.ts#L494)

Whether the proof is overdue (past the challenge window without being submitted)

***

### pieceId?

> `optional` **pieceId**: `bigint`

Defined in: [packages/synapse-sdk/src/types.ts:488](https://github.com/FilOzone/synapse-sdk/blob/2c515fb6328c4f7a68ed82653d96ab11299e177d/packages/synapse-sdk/src/types.ts#L488)

The piece ID if the piece is in the data set

***

### retrievalUrl

> **retrievalUrl**: `string` \| `null`

Defined in: [packages/synapse-sdk/src/types.ts:486](https://github.com/FilOzone/synapse-sdk/blob/2c515fb6328c4f7a68ed82653d96ab11299e177d/packages/synapse-sdk/src/types.ts#L486)

URL where the piece can be retrieved (null if not available)