multiGetTransactionBlocks method

Implementation

Future<List<SuiTransactionBlockResponse>> multiGetTransactionBlocks(
    List<TransactionDigest> digests,
    {SuiTransactionBlockResponseOptions? options}) async {
  final data = await client.request(
      'sui_multiGetTransactionBlocks', [digests, options?.toJson()]);
  List<SuiTransactionBlockResponse> list = [];
  for (var response in data) {
    list.add(SuiTransactionBlockResponse.fromJson(response));
  }
  return list;
}