execute method
Requests fee stats from horizon. See: Fee stats
Implementation
Future<FeeStatsResponse> execute() async {
TypeToken<FeeStatsResponse> type = new TypeToken<FeeStatsResponse>();
ResponseHandler<FeeStatsResponse> responseHandler = new ResponseHandler<FeeStatsResponse>(type);
return await httpClient.get(this.buildUri(), headers: RequestBuilder.headers).then((response) {
return responseHandler.handleResponse(response);
});
}