getCurrentTokenPendingClaims method

Future<List<CurrentTokenPending>> getCurrentTokenPendingClaims({
  1. required String ownerAddress,
  2. int? offset,
  3. int? limit,
})

Implementation

Future<List<CurrentTokenPending>> getCurrentTokenPendingClaims({
  required String ownerAddress,
  int? offset,
  int? limit
}) async {
  final variables = {
    "address": ownerAddress,
    "offset": offset,
    "limit": limit
  };
  final data = await queryIndexer(
      document: GetCurrentTokenPendingClaims, variables: variables);
  return CurrentTokenPendingClaims.fromJson(data).currentTokenPendingClaims;
}