getFaucetRequestStatus method

Future<BatchStatusFaucetResponse> getFaucetRequestStatus(
  1. String taskId
)

Implementation

Future<BatchStatusFaucetResponse> getFaucetRequestStatus(
    String taskId) async {
  final resp = await http.get("$endpoint/v1/status/$taskId");
  return BatchStatusFaucetResponse.fromJson(resp.data);
}