OptionsType
OptionsType =
object
Defined in: packages/synapse-core/src/sp/add-pieces.ts:19
Properties
Section titled “Properties”dataSetId
Section titled “dataSetId”dataSetId:
bigint
Defined in: packages/synapse-core/src/sp/add-pieces.ts:23
The ID of the data set.
extraData
Section titled “extraData”extraData:
Hex
Defined in: packages/synapse-core/src/sp/add-pieces.ts:27
The extra data for the add pieces. TypedData.signAddPieces
pieces
Section titled “pieces”pieces:
PieceCID[]
Defined in: packages/synapse-core/src/sp/add-pieces.ts:25
The pieces to add.
retryCount?
Section titled “retryCount?”
optionalretryCount?:number
Defined in: packages/synapse-core/src/sp/add-pieces.ts:31
The number of retries. Defaults to 2.
retryDelay?
Section titled “retryDelay?”
optionalretryDelay?:number
Defined in: packages/synapse-core/src/sp/add-pieces.ts:33
The delay with exponential backoff between retries in milliseconds. Defaults to RETRY_CONSTANTS.RETRY_DELAY.
serviceURL
Section titled “serviceURL”serviceURL:
string
Defined in: packages/synapse-core/src/sp/add-pieces.ts:21
The service URL of the PDP API.
signal?
Section titled “signal?”
optionalsignal?:AbortSignal
Defined in: packages/synapse-core/src/sp/add-pieces.ts:29
The signal to abort the request.