UploadedPiece
UploadedPiece =
object
Defined in: packages/synapse-core/src/sp/upload-pieces.ts:33
Properties
Section titled “Properties”index:
number
Defined in: packages/synapse-core/src/sp/upload-pieces.ts:35
The index of the piece in pieces.
metadata
Section titled “metadata”metadata:
MetadataObject|undefined
Defined in: packages/synapse-core/src/sp/upload-pieces.ts:43
The metadata stored with the piece.
pieceCid
Section titled “pieceCid”pieceCid:
PieceCID
Defined in: packages/synapse-core/src/sp/upload-pieces.ts:37
The PieceCID.
pieceId
Section titled “pieceId”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.