queryTransactionBlocks method
Future<PaginatedTransactionResponse>
queryTransactionBlocks(
- Map filter, {
- SuiTransactionBlockResponseOptions? options,
- int? limit,
- String? cursor,
- 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);
}