PieceAdditionStatusResponse
Defined in: packages/synapse-sdk/src/pdp/server.ts:129
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:139
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:141
Piece IDs assigned after confirmation
dataSetId
Section titled “dataSetId”dataSetId: number;Defined in: packages/synapse-sdk/src/pdp/server.ts:135
The data set ID
pieceCount
Section titled “pieceCount”pieceCount: number;Defined in: packages/synapse-sdk/src/pdp/server.ts:137
Number of pieces being added
txHash
Section titled “txHash”txHash: string;Defined in: packages/synapse-sdk/src/pdp/server.ts:131
Transaction hash for the piece addition
txStatus
Section titled “txStatus”txStatus: string;Defined in: packages/synapse-sdk/src/pdp/server.ts:133
Transaction status (pending, confirmed, failed)