PieceStatus
Defined in: packages/synapse-sdk/src/types.ts:551
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
Section titled “Properties”dataSetLastProven
Section titled “dataSetLastProven”dataSetLastProven:
Date|null
Defined in: packages/synapse-sdk/src/types.ts:555
When the data set containing this piece was last proven on-chain (null if never proven or not yet due)
dataSetNextProofDue
Section titled “dataSetNextProofDue”dataSetNextProofDue:
Date|null
Defined in: packages/synapse-sdk/src/types.ts:557
When the next proof is due for the data set containing this piece (end of challenge window)
exists
Section titled “exists”exists:
boolean
Defined in: packages/synapse-sdk/src/types.ts:553
Whether the piece exists on the service provider
hoursUntilChallengeWindow?
Section titled “hoursUntilChallengeWindow?”
optionalhoursUntilChallengeWindow:number
Defined in: packages/synapse-sdk/src/types.ts:565
Time until the data set enters the challenge window (in hours)
inChallengeWindow?
Section titled “inChallengeWindow?”
optionalinChallengeWindow:boolean
Defined in: packages/synapse-sdk/src/types.ts:563
Whether the data set is currently in a challenge window
isProofOverdue?
Section titled “isProofOverdue?”
optionalisProofOverdue:boolean
Defined in: packages/synapse-sdk/src/types.ts:567
Whether the proof is overdue (past the challenge window without being submitted)
pieceId?
Section titled “pieceId?”
optionalpieceId:bigint
Defined in: packages/synapse-sdk/src/types.ts:561
The piece ID if the piece is in the data set
retrievalUrl
Section titled “retrievalUrl”retrievalUrl:
string|null
Defined in: packages/synapse-sdk/src/types.ts:559
URL where the piece can be retrieved (null if not available)