Class ChainRepositoryVertxImpl
- java.lang.Object
-
- io.nem.symbol.sdk.infrastructure.vertx.AbstractRepositoryVertxImpl
-
- io.nem.symbol.sdk.infrastructure.vertx.ChainRepositoryVertxImpl
-
- All Implemented Interfaces:
io.nem.symbol.sdk.api.ChainRepository
public class ChainRepositoryVertxImpl extends AbstractRepositoryVertxImpl implements io.nem.symbol.sdk.api.ChainRepository
Chain http repository.
-
-
Constructor Summary
Constructors Constructor Description ChainRepositoryVertxImpl(io.nem.symbol.sdk.openapi.vertx.invoker.ApiClient apiClient)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description io.reactivex.Observable<io.nem.symbol.sdk.model.blockchain.ChainInfo>getChainInfo()Get Block chain scoreio.nem.symbol.sdk.openapi.vertx.api.ChainRoutesApigetClient()static io.nem.symbol.sdk.model.blockchain.FinalizedBlocktoFinalizedBlock(io.nem.symbol.sdk.openapi.vertx.model.FinalizedBlockDTO dto)-
Methods inherited from class io.nem.symbol.sdk.infrastructure.vertx.AbstractRepositoryVertxImpl
call, call, callList, exceptionHandling, exceptionHandling, getJsonHelper, onError, toDto, toDto, toDto, toDto, toDto, toMerkleStateInfo, toPage
-
-
-
-
Method Detail
-
getClient
public io.nem.symbol.sdk.openapi.vertx.api.ChainRoutesApi getClient()
-
getChainInfo
public io.reactivex.Observable<io.nem.symbol.sdk.model.blockchain.ChainInfo> getChainInfo()
Get Block chain score- Specified by:
getChainInfoin interfaceio.nem.symbol.sdk.api.ChainRepository- Returns:
ObservableofBigInteger
-
toFinalizedBlock
public static io.nem.symbol.sdk.model.blockchain.FinalizedBlock toFinalizedBlock(io.nem.symbol.sdk.openapi.vertx.model.FinalizedBlockDTO dto)
-
-