- All Known Implementing Classes:
ChainApiImpl
public interface ChainApi
-
Method Summary
Modifier and Type |
Method |
Description |
void |
getChainEnds(java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<java.lang.String>>> handler) |
|
void |
getCurrentGeneration(java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Generation>> handler) |
|
void |
getCurrentKeyBlock(java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<KeyBlock>> handler) |
|
void |
getCurrentKeyBlockHash(java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<HashResponse>> handler) |
|
void |
getCurrentKeyBlockHeight(java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<HeightResponse>> handler) |
|
void |
getGenerationByHash(java.lang.String hash,
java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Generation>> handler) |
|
void |
getGenerationByHeight(java.math.BigInteger height,
java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Generation>> handler) |
|
void |
getKeyBlockByHash(java.lang.String hash,
java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<KeyBlock>> handler) |
|
void |
getKeyBlockByHeight(java.math.BigInteger height,
java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<KeyBlock>> handler) |
|
void |
getMicroBlockHeaderByHash(java.lang.String hash,
java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MicroBlockHeader>> handler) |
|
void |
getMicroBlockTransactionByHashAndIndex(java.lang.String hash,
java.math.BigInteger index,
java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<SignedTx>> handler) |
|
void |
getMicroBlockTransactionsByHash(java.lang.String hash,
java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<SignedTxs>> handler) |
|
void |
getMicroBlockTransactionsCountByHash(java.lang.String hash,
java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<CountResponse>> handler) |
|
void |
getPendingKeyBlock(java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<KeyBlock>> handler) |
|
void |
getTopHeader(java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Header>> handler) |
|
void |
postKeyBlock(KeyBlock keyBlock,
io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> handler) |
|
-
Method Details
-
getChainEnds
void getChainEnds(java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<java.lang.String>>> handler)
-
getCurrentGeneration
void getCurrentGeneration(
java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Generation>> handler)
-
getCurrentKeyBlock
void getCurrentKeyBlock(
java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<KeyBlock>> handler)
-
getCurrentKeyBlockHash
void getCurrentKeyBlockHash(
java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<HashResponse>> handler)
-
getCurrentKeyBlockHeight
void getCurrentKeyBlockHeight(
java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<HeightResponse>> handler)
-
getGenerationByHash
void getGenerationByHash(
java.lang.String hash,
java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Generation>> handler)
-
getGenerationByHeight
void getGenerationByHeight(
java.math.BigInteger height,
java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Generation>> handler)
-
getKeyBlockByHash
void getKeyBlockByHash(
java.lang.String hash,
java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<KeyBlock>> handler)
-
getKeyBlockByHeight
void getKeyBlockByHeight(
java.math.BigInteger height,
java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<KeyBlock>> handler)
-
getMicroBlockHeaderByHash
void getMicroBlockHeaderByHash(
java.lang.String hash,
java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MicroBlockHeader>> handler)
-
getMicroBlockTransactionByHashAndIndex
void getMicroBlockTransactionByHashAndIndex(
java.lang.String hash,
java.math.BigInteger index,
java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<SignedTx>> handler)
-
getMicroBlockTransactionsByHash
void getMicroBlockTransactionsByHash(
java.lang.String hash,
java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<SignedTxs>> handler)
-
getMicroBlockTransactionsCountByHash
void getMicroBlockTransactionsCountByHash(
java.lang.String hash,
java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<CountResponse>> handler)
-
getPendingKeyBlock
void getPendingKeyBlock(
java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<KeyBlock>> handler)
-
getTopHeader
void getTopHeader(
java.lang.Boolean intAsString,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Header>> handler)
-
postKeyBlock
void postKeyBlock(
KeyBlock keyBlock,
io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> handler)