getUserTransactions method

Future<PaginatedTransactions> getUserTransactions({
  1. required String id,
  2. String? before,
  3. String? after,
  4. int? perPage,
})

Implementation

Future<PaginatedTransactions> getUserTransactions({
  required String id,
  String? before,
  String? after,
  int? perPage,
}) async {
  return await invokeMethod<PaginatedTransactions>(
    (j) => PaginatedTransactions.fromJson(j),
    'getUserTransactions',
    {
      'env': this.env.index,
      'accessToken': this.accessToken,
      'id': id,
      'before': before,
      'after': after,
      'perPage': perPage,
    },
  );
}