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