queryTransactionEvents method

Future<Paged<List<SuiEvent>>> queryTransactionEvents(
  1. TransactionDigest digest, {
  2. String? cursor,
  3. int limit = 1,
  4. bool descendingOrder = true,
})

Implementation

Future<Paged<List<SuiEvent>>> queryTransactionEvents(
  TransactionDigest digest,
  {String? cursor,
  int limit = 1,
  bool descendingOrder = true}
) async {
  final query = { "Transaction": digest };
  final result = await queryEvents(
    query,
    limit: limit,
    descendingOrder: descendingOrder,
    cursor: cursor
  );
  return result;
}