Skip to content

OptionsType

OptionsType = object

Defined in: packages/synapse-core/src/sp/add-pieces.ts:19

dataSetId: bigint

Defined in: packages/synapse-core/src/sp/add-pieces.ts:23

The ID of the data set.


extraData: Hex

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

The extra data for the add pieces. TypedData.signAddPieces


pieces: PieceCID[]

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

The pieces to add.


optional retryCount?: number

Defined in: packages/synapse-core/src/sp/add-pieces.ts:31

The number of retries. Defaults to 2.


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

Defined in: packages/synapse-core/src/sp/add-pieces.ts:21

The service URL of the PDP API.


optional signal?: AbortSignal

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

The signal to abort the request.