Skip to content

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

ParameterTypeDescription
clientClient<Transport, Chain, Account>The client to use to add the pieces.
optionsAddPiecesOptionsThe options for the add pieces. AddPiecesOptions

Promise<{ statusUrl: string; txHash: `0x${string}`; }>

The response from the add pieces operation.