public interface BlockchainRepository
| 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<java.math.BigInteger> |
getBlockchainHeight()
Gets current blockchain height.
|
io.reactivex.Observable<java.math.BigInteger> |
getBlockchainScore()
Gets current blockchain score.
|
io.reactivex.Observable<BlockchainStorageInfo> |
getBlockchainStorage()
Gets blockchain storage info.
|
io.reactivex.Observable<java.util.List<Transaction>> |
getBlockTransactions(java.math.BigInteger height)
Gets list of transactions included in a block for a block height
|
io.reactivex.Observable<java.util.List<Transaction>> |
getBlockTransactions(java.math.BigInteger height,
QueryParams queryParams)
Gets list of transactions included in a block for a block height
With pagination.
|
io.reactivex.Observable<BlockInfo> getBlockByHeight(java.math.BigInteger height)
height - BigIntegerBlockInfoio.reactivex.Observable<java.util.List<Transaction>> getBlockTransactions(java.math.BigInteger height)
height - BigIntegerTransaction>io.reactivex.Observable<java.util.List<Transaction>> getBlockTransactions(java.math.BigInteger height, QueryParams queryParams)
height - BigIntegerqueryParams - QueryParamsTransaction>io.reactivex.Observable<java.math.BigInteger> getBlockchainHeight()
io.reactivex.Observable<java.math.BigInteger> getBlockchainScore()
io.reactivex.Observable<BlockchainStorageInfo> getBlockchainStorage()
BlockchainStorageInfo