getBlocks method
Get data blocks from a given repo, by CID. For example, intermediate MST nodes, or records. Does not require auth; implemented by PDS.
https://atprotodart.com/docs/lexicons/com/atproto/sync/getBlocks
Implementation
Future<XRPCResponse<Uint8List>> getBlocks({
required String did,
required List<String> cids,
Map<String, String>? $unknown,
Map<String, String>? $headers,
GetClient? $client,
}) async =>
await _ctx.get<Uint8List>(
ns.comAtprotoSyncGetBlocks,
headers: $headers,
parameters: {
'did': did,
'cids': cids,
...?$unknown,
},
client: $client,
);