addPieces
function addPieces(client, options): Promise<{ statusUrl: string; txHash: `0x${string}`;}>;Defined in: packages/synapse-core/src/warm-storage/pieces.ts:33
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 | AddPiecesOptions | The options for the add pieces. AddPiecesOptions |
Returns
Section titled “Returns”Promise<{
statusUrl: string;
txHash: `0x${string}`;
}>
The response from the add pieces operation.