getFaucetRequestStatus method
- @Deprecated('Use requestSuiFromFaucetV2; the /v1/status endpoint is deprecated.')
- String taskId
Implementation
@Deprecated(
'Use requestSuiFromFaucetV2; the /v1/status endpoint is deprecated.',
)
Future<BatchStatusFaucetResponse> getFaucetRequestStatus(
String taskId,
) async {
final resp = await http.get("$endpoint/v1/status/$taskId");
return BatchStatusFaucetResponse.fromJson(resp.data);
}