queryTransactionBlocks method

Future<PaginatedTransactionResponse> queryTransactionBlocks(
  1. Map filter, {
  2. SuiTransactionBlockResponseOptions? options,
  3. int? limit,
  4. String? cursor,
  5. bool descendingOrder = true,
})

Implementation

Future<PaginatedTransactionResponse> queryTransactionBlocks(
    Map filter,
    {SuiTransactionBlockResponseOptions? options,
    int? limit,
    String? cursor,
    bool descendingOrder = true}) async {
  final data = await client.request('suix_queryTransactionBlocks', [
    {
      "filter": filter,
      "options": options?.toJson()
    },
    cursor,
    limit,
    descendingOrder
  ]);
  return PaginatedTransactionResponse.fromJson(data);
}