addPieces
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.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
client | Client<Transport, Chain, Account> | The client to use to add the pieces. |
options | OptionsType | The options for the add pieces. addPieces.OptionsType |
Returns
Section titled “Returns”Promise<OutputType>
The response from the add pieces operation. addPieces.OutputType
Throws
Section titled “Throws”Errors addPieces.ErrorType