getPieces
getPieces(
client,options):Promise<{hasMore:boolean;pieces:object[]; }>
Defined in: packages/synapse-core/src/warm-storage/pieces.ts:157
Get the pieces for a data set
Calls the PDP Verifier contract to get the pieces.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
client | Client<Transport, Chain> | The client to use to get the pieces. |
options | GetPiecesOptions | The options for the get pieces. |
Returns
Section titled “Returns”Promise<{ hasMore: boolean; pieces: object[]; }>