Skip to content

UploadedPiece

UploadedPiece = object

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

index: number

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

The index of the piece in pieces.


metadata: MetadataObject | undefined

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

The metadata stored with the piece.


pieceCid: PieceCID

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

The PieceCID.


pieceId: bigint | undefined

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

The piece id in the data set, from the confirmed add-pieces transaction.


size: number

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

The raw size of the piece in bytes.