Skip to content

OptionsType

OptionsType = object

Defined in: packages/synapse-core/src/sp/create-dataset-add-pieces.ts:25

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: PieceCID[]

Defined in: packages/synapse-core/src/sp/create-dataset-add-pieces.ts:33

The pieces to add.


recordKeeper: Address

Defined in: packages/synapse-core/src/sp/create-dataset-add-pieces.ts:29

The address of the record keeper.


optional retryCount?: number

Defined in: packages/synapse-core/src/sp/create-dataset-add-pieces.ts:37

The number of retries. Defaults to 2.


optional retryDelay?: 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: string

Defined in: packages/synapse-core/src/sp/create-dataset-add-pieces.ts:27

The service URL of the PDP API.


optional signal?: AbortSignal

Defined in: packages/synapse-core/src/sp/create-dataset-add-pieces.ts:35

The signal to abort the request.