# PieceStatus

Defined in: [packages/synapse-sdk/src/types.ts:552](https://github.com/FilOzone/synapse-sdk/blob/1d6c4b9fe34534bf1087dfe41491b72be0b46858/packages/synapse-sdk/src/types.ts#L552)

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

```ts
dataSetLastProven: 
  | Date
  | null;
```

Defined in: [packages/synapse-sdk/src/types.ts:556](https://github.com/FilOzone/synapse-sdk/blob/1d6c4b9fe34534bf1087dfe41491b72be0b46858/packages/synapse-sdk/src/types.ts#L556)

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

***

### dataSetNextProofDue

```ts
dataSetNextProofDue: 
  | Date
  | null;
```

Defined in: [packages/synapse-sdk/src/types.ts:558](https://github.com/FilOzone/synapse-sdk/blob/1d6c4b9fe34534bf1087dfe41491b72be0b46858/packages/synapse-sdk/src/types.ts#L558)

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

***

### exists

```ts
exists: boolean;
```

Defined in: [packages/synapse-sdk/src/types.ts:554](https://github.com/FilOzone/synapse-sdk/blob/1d6c4b9fe34534bf1087dfe41491b72be0b46858/packages/synapse-sdk/src/types.ts#L554)

Whether the piece exists on the service provider

***

### hoursUntilChallengeWindow?

```ts
optional hoursUntilChallengeWindow: number;
```

Defined in: [packages/synapse-sdk/src/types.ts:566](https://github.com/FilOzone/synapse-sdk/blob/1d6c4b9fe34534bf1087dfe41491b72be0b46858/packages/synapse-sdk/src/types.ts#L566)

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

***

### inChallengeWindow?

```ts
optional inChallengeWindow: boolean;
```

Defined in: [packages/synapse-sdk/src/types.ts:564](https://github.com/FilOzone/synapse-sdk/blob/1d6c4b9fe34534bf1087dfe41491b72be0b46858/packages/synapse-sdk/src/types.ts#L564)

Whether the data set is currently in a challenge window

***

### isProofOverdue?

```ts
optional isProofOverdue: boolean;
```

Defined in: [packages/synapse-sdk/src/types.ts:568](https://github.com/FilOzone/synapse-sdk/blob/1d6c4b9fe34534bf1087dfe41491b72be0b46858/packages/synapse-sdk/src/types.ts#L568)

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

***

### pieceId?

```ts
optional pieceId: number;
```

Defined in: [packages/synapse-sdk/src/types.ts:562](https://github.com/FilOzone/synapse-sdk/blob/1d6c4b9fe34534bf1087dfe41491b72be0b46858/packages/synapse-sdk/src/types.ts#L562)

The piece ID if the piece is in the data set

***

### retrievalUrl

```ts
retrievalUrl: string | null;
```

Defined in: [packages/synapse-sdk/src/types.ts:560](https://github.com/FilOzone/synapse-sdk/blob/1d6c4b9fe34534bf1087dfe41491b72be0b46858/packages/synapse-sdk/src/types.ts#L560)

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