public class ChainRoutesApi
extends java.lang.Object
| Constructor and Description |
|---|
ChainRoutesApi() |
ChainRoutesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
HeightInfoDTO |
getChainHeight()
Get the current height of the chain
Returns the current height of the blockchain.
|
okhttp3.Call |
getChainHeightAsync(ApiCallback<HeightInfoDTO> _callback)
Get the current height of the chain (asynchronously)
Returns the current height of the blockchain.
|
okhttp3.Call |
getChainHeightCall(ApiCallback _callback)
Build call for getChainHeight
|
ApiResponse<HeightInfoDTO> |
getChainHeightWithHttpInfo()
Get the current height of the chain
Returns the current height of the blockchain.
|
ChainScoreDTO |
getChainScore()
Get the current score of the chain
Gets the current score of the blockchain.
|
okhttp3.Call |
getChainScoreAsync(ApiCallback<ChainScoreDTO> _callback)
Get the current score of the chain (asynchronously)
Gets the current score of the blockchain.
|
okhttp3.Call |
getChainScoreCall(ApiCallback _callback)
Build call for getChainScore
|
ApiResponse<ChainScoreDTO> |
getChainScoreWithHttpInfo()
Get the current score of the chain
Gets the current score of the blockchain.
|
void |
setApiClient(ApiClient apiClient) |
public ChainRoutesApi()
public ChainRoutesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call getChainHeightCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
public HeightInfoDTO getChainHeight() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
public ApiResponse<HeightInfoDTO> getChainHeightWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
public okhttp3.Call getChainHeightAsync(ApiCallback<HeightInfoDTO> _callback) throws ApiException
_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
public okhttp3.Call getChainScoreCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
public ChainScoreDTO getChainScore() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
public ApiResponse<ChainScoreDTO> getChainScoreWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
public okhttp3.Call getChainScoreAsync(ApiCallback<ChainScoreDTO> _callback) throws ApiException
_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | success | - |