Class 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 Detail

      • ChainRepositoryVertxImpl

        public ChainRepositoryVertxImpl​(io.nem.symbol.sdk.openapi.vertx.invoker.ApiClient apiClient)
    • 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:
        getChainInfo in interface io.nem.symbol.sdk.api.ChainRepository
        Returns:
        Observable of BigInteger
      • toFinalizedBlock

        public static io.nem.symbol.sdk.model.blockchain.FinalizedBlock toFinalizedBlock​(io.nem.symbol.sdk.openapi.vertx.model.FinalizedBlockDTO dto)