getSlivers method

Future<List<SliverData>> getSlivers({
  1. required String blobId,
})

Read primary slivers from storage nodes for blob reconstruction.

Uses weighted shuffle to prioritize nodes with more shards. Fetches slivers in column-first order through chunked batches, aborting early once enough slivers have been collected.

Mirrors the TS SDK's getSlivers().

Implementation

Future<List<SliverData>> getSlivers({required String blobId}) async {
  return retryOnPossibleEpochChange(
    () => _internalGetSlivers(blobId: blobId),
  );
}