PieceAdditionStatusResponse
Defined in: packages/synapse-sdk/src/pdp/server.ts:119
Response from checking piece addition status
Properties
Section titled “Properties”addMessageOk
Section titled “addMessageOk”addMessageOk: boolean | null;Defined in: packages/synapse-sdk/src/pdp/server.ts:129
Whether the add message was successful (null if pending)
confirmedPieceIds?
Section titled “confirmedPieceIds?”optional confirmedPieceIds: number[];Defined in: packages/synapse-sdk/src/pdp/server.ts:131
Piece IDs assigned after confirmation
dataSetId
Section titled “dataSetId”dataSetId: number;Defined in: packages/synapse-sdk/src/pdp/server.ts:125
The data set ID
pieceCount
Section titled “pieceCount”pieceCount: number;Defined in: packages/synapse-sdk/src/pdp/server.ts:127
Number of pieces being added
txHash
Section titled “txHash”txHash: string;Defined in: packages/synapse-sdk/src/pdp/server.ts:121
Transaction hash for the piece addition
txStatus
Section titled “txStatus”txStatus: string;Defined in: packages/synapse-sdk/src/pdp/server.ts:123
Transaction status (pending, confirmed, failed)