# 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/ce70156aec4743b160a499b1092490121b425435/packages/synapse-core/src/sp/add-pieces.ts#L163)