@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2019-11-02T09:22:19.033Z[UTC]")
public class ChainRoutesApi
extends java.lang.Object
| Constructor and Description |
|---|
ChainRoutesApi() |
ChainRoutesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
HeightInfoDTO |
getBlockchainHeight()
Get the current height of the chain
Returns the current height of the blockchain.
|
ApiResponse<HeightInfoDTO> |
getBlockchainHeightWithHttpInfo()
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 getBlockchainHeight() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
public ApiResponse<HeightInfoDTO> getBlockchainHeightWithHttpInfo() 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 | - |