getStarGiftActiveAuctions method

Future<Result<PaymentsStarGiftActiveAuctionsBase>> getStarGiftActiveAuctions({
  1. required int hash,
})

Get Star Gift Active Auctions.

ID: a5d0514d.

Implementation

Future<Result<PaymentsStarGiftActiveAuctionsBase>> getStarGiftActiveAuctions({
  required int hash,
}) async {
  // Preparing the request.
  final request = PaymentsGetStarGiftActiveAuctions(hash: hash);

  // Invoke and wait for response.
  final response = await _c.invoke(request);

  // Return the result.
  return response._to<PaymentsStarGiftActiveAuctionsBase>();
}