Skip to content

OutputType

OutputType = object

Defined in: packages/synapse-core/src/sp/upload-pieces.ts:45

confirmations: OutputType[]

Defined in: packages/synapse-core/src/sp/upload-pieces.ts:50

The on-chain outcomes of the add-pieces transactions, one per transaction. All pieces go in one transaction unless they don’t fit in a single add-pieces request.


failed: object[]

Defined in: packages/synapse-core/src/sp/upload-pieces.ts:54

The pieces that failed to upload or whose add-pieces transaction was not confirmed.

error: Error

index: number


pieces: UploadedPiece[]

Defined in: packages/synapse-core/src/sp/upload-pieces.ts:52

The pieces added to the data set, in input order.