public interface BlockRepository extends SearcherRepository<BlockInfo,BlockSearchCriteria>
Modifier and Type | Method and Description |
---|---|
io.reactivex.Observable<BlockInfo> |
getBlockByHeight(java.math.BigInteger height)
Gets a BlockInfo for a given block height.
|
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.
|
streamer
io.reactivex.Observable<BlockInfo> getBlockByHeight(java.math.BigInteger height)
height
- BigIntegerBlockInfo
io.reactivex.Observable<MerkleProofInfo> getMerkleTransaction(java.math.BigInteger height, java.lang.String hash)
height
- the height.hash
- the expected hash.Observable
of MerkleProofInfoio.reactivex.Observable<MerkleProofInfo> getMerkleReceipts(java.math.BigInteger height, java.lang.String hash)
height
- Block height. (required)hash
- Receipt hash. (required)Observable
of MerkleProofInfo