public class FeeStatsRequestBuilder extends RequestBuilder
RequestBuilder.Order
Constructor and Description |
---|
FeeStatsRequestBuilder(okhttp3.OkHttpClient httpClient,
okhttp3.HttpUrl serverURI) |
Modifier and Type | Method and Description |
---|---|
FeeStatsResponse |
execute()
Requests
GET /fee_stats |
cursor, limit, order, setAssetParameter, setAssetsParameter
public FeeStatsRequestBuilder(okhttp3.OkHttpClient httpClient, okhttp3.HttpUrl serverURI)
public FeeStatsResponse execute()
GET /fee_stats
FeeStatsResponse
NetworkException
- All the exceptions below are subclasses of
NetworkErrorBadRequestException
- if the request fails due to a bad request
(4xx)BadResponseException
- if the request fails due to a bad
response from the server (5xx)TooManyRequestsException
- if the request fails due to too many requests sent to the
serverRequestTimeoutException
- When Horizon returns a Timeout
or connection timeout occurredUnknownResponseException
- if the server returns an unknown
status codeConnectionErrorException
- When the request cannot be executed due to cancellation or
connectivity problems, etc.