OptionsType
OptionsType =
object
Defined in: packages/synapse-core/src/sp/create-dataset-add-pieces.ts:25
Properties
Section titled “Properties”extraData
Section titled “extraData”extraData:
Hex
Defined in: packages/synapse-core/src/sp/create-dataset-add-pieces.ts:31
The extra data for the create data set and add pieces.
pieces
Section titled “pieces”pieces:
PieceCID[]
Defined in: packages/synapse-core/src/sp/create-dataset-add-pieces.ts:33
The pieces to add.
recordKeeper
Section titled “recordKeeper”recordKeeper:
Address
Defined in: packages/synapse-core/src/sp/create-dataset-add-pieces.ts:29
The address of the record keeper.
retryCount?
Section titled “retryCount?”
optionalretryCount?:number
Defined in: packages/synapse-core/src/sp/create-dataset-add-pieces.ts:37
The number of retries. Defaults to 2.
retryDelay?
Section titled “retryDelay?”
optionalretryDelay?:number
Defined in: packages/synapse-core/src/sp/create-dataset-add-pieces.ts:39
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/create-dataset-add-pieces.ts:27
The service URL of the PDP API.
signal?
Section titled “signal?”
optionalsignal?:AbortSignal
Defined in: packages/synapse-core/src/sp/create-dataset-add-pieces.ts:35
The signal to abort the request.