# 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/wait-for-add-pieces.ts:25](https://github.com/FilOzone/synapse-sdk/blob/7fdc04df4e3c52366a9f0cd55da4c05e20b2ed82/packages/synapse-core/src/sp/wait-for-add-pieces.ts#L25)