@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2020-08-14T13:43:37.324Z[UTC]")
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.
|
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.
|
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 HeightInfoDTO getChainHeight() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
public ApiResponse<HeightInfoDTO> getChainHeightWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
public ChainScoreDTO getChainScore() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
public ApiResponse<ChainScoreDTO> getChainScoreWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |