requestSuiFromFaucetV1 method
Implementation
Future<BatchFaucetResponse> requestSuiFromFaucetV1(String recipient) async {
final data = {
"FixedAmountRequest": {
"recipient": recipient
}
};
final resp = await http.post(endpoint + "/v1/gas", data: data);
return BatchFaucetResponse.fromJson(resp.data);
}