# PieceStatus

Defined in: [packages/synapse-sdk/src/types.ts:736](https://github.com/FilOzone/synapse-sdk/blob/8d8b407968f141ea7931036f0f8d36745d1ce74b/packages/synapse-sdk/src/types.ts#L736)

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:738](https://github.com/FilOzone/synapse-sdk/blob/8d8b407968f141ea7931036f0f8d36745d1ce74b/packages/synapse-sdk/src/types.ts#L738)

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:740](https://github.com/FilOzone/synapse-sdk/blob/8d8b407968f141ea7931036f0f8d36745d1ce74b/packages/synapse-sdk/src/types.ts#L740)

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

***

### hoursUntilChallengeWindow?

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

Defined in: [packages/synapse-sdk/src/types.ts:748](https://github.com/FilOzone/synapse-sdk/blob/8d8b407968f141ea7931036f0f8d36745d1ce74b/packages/synapse-sdk/src/types.ts#L748)

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

***

### inChallengeWindow?

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

Defined in: [packages/synapse-sdk/src/types.ts:746](https://github.com/FilOzone/synapse-sdk/blob/8d8b407968f141ea7931036f0f8d36745d1ce74b/packages/synapse-sdk/src/types.ts#L746)

Whether the data set is currently in a challenge window

***

### isProofOverdue?

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

Defined in: [packages/synapse-sdk/src/types.ts:750](https://github.com/FilOzone/synapse-sdk/blob/8d8b407968f141ea7931036f0f8d36745d1ce74b/packages/synapse-sdk/src/types.ts#L750)

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

***

### pieceId?

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

Defined in: [packages/synapse-sdk/src/types.ts:744](https://github.com/FilOzone/synapse-sdk/blob/8d8b407968f141ea7931036f0f8d36745d1ce74b/packages/synapse-sdk/src/types.ts#L744)

The piece ID if the piece is in the data set

***

### retrievalUrl

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

Defined in: [packages/synapse-sdk/src/types.ts:742](https://github.com/FilOzone/synapse-sdk/blob/8d8b407968f141ea7931036f0f8d36745d1ce74b/packages/synapse-sdk/src/types.ts#L742)

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