public class BlockRepositoryVertxImpl extends AbstractRepositoryVertxImpl implements BlockRepository
| Constructor and Description |
|---|
BlockRepositoryVertxImpl(io.nem.symbol.sdk.openapi.vertx.invoker.ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Observable<BlockInfo> |
getBlockByHeight(java.math.BigInteger height)
Gets a BlockInfo for a given block height.
|
io.nem.symbol.sdk.openapi.vertx.api.BlockRoutesApi |
getClient() |
io.reactivex.Observable<MerkleProofInfo> |
getMerkleReceipts(java.math.BigInteger height,
java.lang.String hash)
Get the merkle path for a given a receipt statement hash and block Returns the merkle path for
a receipt statement or resolution linked to a block.
|
io.reactivex.Observable<MerkleProofInfo> |
getMerkleTransaction(java.math.BigInteger height,
java.lang.String hash)
Get the merkle path for a given a transaction and block Returns the merkle path for a
[transaction](https://nemtech.github.io/concepts/transaction.html) included in a block.
|
io.reactivex.Observable<Page<BlockInfo>> |
search(BlockSearchCriteria criteria)
It searches entities of a type based on a criteria.
|
static BlockInfo |
toBlockInfo(io.nem.symbol.sdk.openapi.vertx.model.BlockInfoDTO blockInfoDTO,
JsonHelper jsonHelper) |
call, call, callList, exceptionHandling, exceptionHandling, getJsonHelper, onError, toDto, toDto, toDto, toDto, toDto, toMerkleStateInfo, toPageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitstreamerpublic BlockRepositoryVertxImpl(io.nem.symbol.sdk.openapi.vertx.invoker.ApiClient apiClient)
public io.reactivex.Observable<BlockInfo> getBlockByHeight(java.math.BigInteger height)
BlockRepositorygetBlockByHeight in interface BlockRepositoryheight - BigIntegerBlockInfopublic io.reactivex.Observable<Page<BlockInfo>> search(BlockSearchCriteria criteria)
Searchersearch in interface Searcher<BlockInfo,BlockSearchCriteria>criteria - the criteriapublic io.reactivex.Observable<MerkleProofInfo> getMerkleTransaction(java.math.BigInteger height, java.lang.String hash)
BlockRepositorygetMerkleTransaction in interface BlockRepositoryheight - the height.hash - the expected hash.Observable of MerkleProofInfopublic io.reactivex.Observable<MerkleProofInfo> getMerkleReceipts(java.math.BigInteger height, java.lang.String hash)
BlockRepositorygetMerkleReceipts in interface BlockRepositoryheight - Block height. (required)hash - Receipt hash. (required)Observable of MerkleProofInfopublic static BlockInfo toBlockInfo(io.nem.symbol.sdk.openapi.vertx.model.BlockInfoDTO blockInfoDTO, JsonHelper jsonHelper)
public io.nem.symbol.sdk.openapi.vertx.api.BlockRoutesApi getClient()