public class BlockRepositoryVertxImpl extends AbstractRepositoryVertxImpl implements io.nem.sdk.api.BlockRepository
| Constructor and Description |
|---|
BlockRepositoryVertxImpl(io.nem.sdk.openapi.vertx.invoker.ApiClient apiClient,
java.util.function.Supplier<io.nem.sdk.model.blockchain.NetworkType> networkType) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Observable<io.nem.sdk.model.blockchain.BlockInfo> |
getBlockByHeight(java.math.BigInteger height) |
io.reactivex.Observable<io.nem.sdk.model.receipt.Statement> |
getBlockReceipts(java.math.BigInteger height) |
io.reactivex.Observable<java.util.List<io.nem.sdk.model.blockchain.BlockInfo>> |
getBlocksByHeightWithLimit(java.math.BigInteger height,
int limit,
java.util.Optional<io.nem.sdk.api.QueryParams> queryParams) |
io.reactivex.Observable<java.util.List<io.nem.sdk.model.transaction.Transaction>> |
getBlockTransactions(java.math.BigInteger height) |
io.reactivex.Observable<java.util.List<io.nem.sdk.model.transaction.Transaction>> |
getBlockTransactions(java.math.BigInteger height,
io.nem.sdk.api.QueryParams queryParams) |
io.nem.sdk.openapi.vertx.api.BlockRoutesApi |
getClient() |
io.reactivex.Observable<io.nem.sdk.model.blockchain.MerkelProofInfo> |
getMerkleReceipts(java.math.BigInteger height,
java.lang.String hash) |
io.reactivex.Observable<io.nem.sdk.model.blockchain.MerkelProofInfo> |
getMerkleTransaction(java.math.BigInteger height,
java.lang.String hash) |
static io.nem.sdk.model.blockchain.BlockInfo |
toBlockInfo(io.nem.sdk.openapi.vertx.model.BlockInfoDTO blockInfoDTO) |
call, exceptionHandling, exceptionHandling, getId, getJsonHelper, getNetworkTypeBlocking, getOrder, getPageSize, onErrorpublic BlockRepositoryVertxImpl(io.nem.sdk.openapi.vertx.invoker.ApiClient apiClient,
java.util.function.Supplier<io.nem.sdk.model.blockchain.NetworkType> networkType)
public io.reactivex.Observable<io.nem.sdk.model.blockchain.BlockInfo> getBlockByHeight(java.math.BigInteger height)
getBlockByHeight in interface io.nem.sdk.api.BlockRepositorypublic io.reactivex.Observable<java.util.List<io.nem.sdk.model.transaction.Transaction>> getBlockTransactions(java.math.BigInteger height,
io.nem.sdk.api.QueryParams queryParams)
getBlockTransactions in interface io.nem.sdk.api.BlockRepositorypublic io.reactivex.Observable<java.util.List<io.nem.sdk.model.transaction.Transaction>> getBlockTransactions(java.math.BigInteger height)
getBlockTransactions in interface io.nem.sdk.api.BlockRepositorypublic io.reactivex.Observable<java.util.List<io.nem.sdk.model.blockchain.BlockInfo>> getBlocksByHeightWithLimit(java.math.BigInteger height,
int limit,
java.util.Optional<io.nem.sdk.api.QueryParams> queryParams)
getBlocksByHeightWithLimit in interface io.nem.sdk.api.BlockRepositorypublic io.reactivex.Observable<io.nem.sdk.model.blockchain.MerkelProofInfo> getMerkleReceipts(java.math.BigInteger height,
java.lang.String hash)
getMerkleReceipts in interface io.nem.sdk.api.BlockRepositorypublic io.reactivex.Observable<io.nem.sdk.model.blockchain.MerkelProofInfo> getMerkleTransaction(java.math.BigInteger height,
java.lang.String hash)
getMerkleTransaction in interface io.nem.sdk.api.BlockRepositorypublic io.reactivex.Observable<io.nem.sdk.model.receipt.Statement> getBlockReceipts(java.math.BigInteger height)
getBlockReceipts in interface io.nem.sdk.api.BlockRepositorypublic static io.nem.sdk.model.blockchain.BlockInfo toBlockInfo(io.nem.sdk.openapi.vertx.model.BlockInfoDTO blockInfoDTO)
public io.nem.sdk.openapi.vertx.api.BlockRoutesApi getClient()