@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2020-02-18T19:12:35.788Z[UTC]")
public class ChainRoutesApi
extends java.lang.Object
| Constructor and Description |
|---|
ChainRoutesApi(ChainRoutesApi delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
getChainHeight(io.vertx.core.Handler<io.vertx.core.AsyncResult<HeightInfoDTO>> resultHandler)
Get the current height of the chain
Returns the current height of the blockchain.
|
void |
getChainScore(io.vertx.core.Handler<io.vertx.core.AsyncResult<ChainScoreDTO>> resultHandler)
Get the current score of the chain
Gets the current score of the blockchain.
|
ChainRoutesApi |
getDelegate() |
static ChainRoutesApi |
newInstance(ChainRoutesApi arg) |
rx.Single<HeightInfoDTO> |
rxGetChainHeight()
Get the current height of the chain
Returns the current height of the blockchain.
|
rx.Single<ChainScoreDTO> |
rxGetChainScore()
Get the current score of the chain
Gets the current score of the blockchain.
|
public ChainRoutesApi(ChainRoutesApi delegate)
public ChainRoutesApi getDelegate()
public void getChainHeight(io.vertx.core.Handler<io.vertx.core.AsyncResult<HeightInfoDTO>> resultHandler)
resultHandler - Asynchronous result handlerpublic rx.Single<HeightInfoDTO> rxGetChainHeight()
public void getChainScore(io.vertx.core.Handler<io.vertx.core.AsyncResult<ChainScoreDTO>> resultHandler)
resultHandler - Asynchronous result handlerpublic rx.Single<ChainScoreDTO> rxGetChainScore()
public static ChainRoutesApi newInstance(ChainRoutesApi arg)