# AddPiecesSuccessSchema

> `const` **AddPiecesSuccessSchema**: `ZodObject`\<\{ `addMessageOk`: `ZodLiteral`\<`true`\>; `confirmedPieceIds`: `ZodArray`\<`ZodCodec`\<`ZodInt`, `ZodBigInt`\>\>; `dataSetId`: `ZodCodec`\<`ZodInt`, `ZodBigInt`\>; `pieceCount`: `ZodNumber`; `piecesAdded`: `ZodLiteral`\<`true`\>; `txHash`: `ZodCustom`\<`` `0x${string}` ``, `` `0x${string}` ``\>; `txStatus`: `ZodLiteral`\<`"confirmed"`\>; \}, `$strip`\>

Defined in: [packages/synapse-core/src/sp/add-pieces.ts:163](https://github.com/FilOzone/synapse-sdk/blob/dedad9df2a2b92b4d129e93660ac1208ef65c2c1/packages/synapse-core/src/sp/add-pieces.ts#L163)