getBlocks method

Future<XRPCResponse<Uint8List>> getBlocks({
  1. required String did,
  2. required List<String> cids,
  3. Map<String, String>? $headers,
  4. Map<String, String>? $unknown,
})

Get data blocks from a given repo, by CID. For example, intermediate MST nodes, or records. Does not require auth; implemented by PDS.

Implementation

Future<XRPCResponse<Uint8List>> getBlocks({
  required String did,
  required List<String> cids,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await comAtprotoSyncGetBlocks(
  did: did,
  cids: cids,
  $ctx: _ctx,
  $headers: $headers,
  $unknown: $unknown,
);