# PieceStatus

Defined in: [packages/synapse-sdk/src/types.ts:776](https://github.com/FilOzone/synapse-sdk/blob/d2725be576fc57fac19e7c64cd8e004e0cec85d3/packages/synapse-sdk/src/types.ts#L776)

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:778](https://github.com/FilOzone/synapse-sdk/blob/d2725be576fc57fac19e7c64cd8e004e0cec85d3/packages/synapse-sdk/src/types.ts#L778)

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:780](https://github.com/FilOzone/synapse-sdk/blob/d2725be576fc57fac19e7c64cd8e004e0cec85d3/packages/synapse-sdk/src/types.ts#L780)

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:788](https://github.com/FilOzone/synapse-sdk/blob/d2725be576fc57fac19e7c64cd8e004e0cec85d3/packages/synapse-sdk/src/types.ts#L788)

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

***

### inChallengeWindow?

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

Defined in: [packages/synapse-sdk/src/types.ts:786](https://github.com/FilOzone/synapse-sdk/blob/d2725be576fc57fac19e7c64cd8e004e0cec85d3/packages/synapse-sdk/src/types.ts#L786)

Whether the data set is currently in a challenge window

***

### isProofOverdue?

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

Defined in: [packages/synapse-sdk/src/types.ts:790](https://github.com/FilOzone/synapse-sdk/blob/d2725be576fc57fac19e7c64cd8e004e0cec85d3/packages/synapse-sdk/src/types.ts#L790)

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

***

### pieceId?

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

Defined in: [packages/synapse-sdk/src/types.ts:784](https://github.com/FilOzone/synapse-sdk/blob/d2725be576fc57fac19e7c64cd8e004e0cec85d3/packages/synapse-sdk/src/types.ts#L784)

The piece ID if the piece is in the data set

***

### retrievalUrl

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

Defined in: [packages/synapse-sdk/src/types.ts:782](https://github.com/FilOzone/synapse-sdk/blob/d2725be576fc57fac19e7c64cd8e004e0cec85d3/packages/synapse-sdk/src/types.ts#L782)

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