Skip to content

addPieces(client, options): Promise<OutputType>

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

Add pieces to a data set

Call the Service Provider API to add pieces to a data set.

ParameterTypeDescription
clientClient<Transport, Chain, Account>The client to use to add the pieces.
optionsOptionsTypeThe options for the add pieces. addPieces.OptionsType

Promise<OutputType>

The response from the add pieces operation. addPieces.OutputType

Errors addPieces.ErrorType