@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2020-09-25T14:18:23.319Z[UTC]")
public class BlockRoutesApi
extends java.lang.Object
| Constructor and Description |
|---|
BlockRoutesApi(BlockRoutesApi delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
getBlockByHeight(java.math.BigInteger height,
io.vertx.core.Handler<io.vertx.core.AsyncResult<BlockInfoDTO>> resultHandler)
Get block information
Gets a block from the chain that has the given height.
|
BlockRoutesApi |
getDelegate() |
void |
getMerkleReceipts(java.math.BigInteger height,
java.lang.String hash,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MerkleProofInfoDTO>> resultHandler)
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.
|
void |
getMerkleTransaction(java.math.BigInteger height,
java.lang.String hash,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MerkleProofInfoDTO>> resultHandler)
Get the merkle path for a given a transaction and block
Returns the merkle path for a transaction included in a block.
|
static BlockRoutesApi |
newInstance(BlockRoutesApi arg) |
rx.Single<BlockInfoDTO> |
rxGetBlockByHeight(java.math.BigInteger height)
Get block information
Gets a block from the chain that has the given height.
|
rx.Single<MerkleProofInfoDTO> |
rxGetMerkleReceipts(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.
|
rx.Single<MerkleProofInfoDTO> |
rxGetMerkleTransaction(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 included in a block.
|
rx.Single<BlockPage> |
rxSearchBlocks(java.lang.String signerPublicKey,
java.lang.String beneficiaryAddress,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order,
BlockOrderByEnum orderBy)
Search blocks
Gets an array of bocks.
|
void |
searchBlocks(java.lang.String signerPublicKey,
java.lang.String beneficiaryAddress,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order,
BlockOrderByEnum orderBy,
io.vertx.core.Handler<io.vertx.core.AsyncResult<BlockPage>> resultHandler)
Search blocks
Gets an array of bocks.
|
public BlockRoutesApi(BlockRoutesApi delegate)
public BlockRoutesApi getDelegate()
public void getBlockByHeight(java.math.BigInteger height,
io.vertx.core.Handler<io.vertx.core.AsyncResult<BlockInfoDTO>> resultHandler)
height - Block height. (required)resultHandler - Asynchronous result handlerpublic rx.Single<BlockInfoDTO> rxGetBlockByHeight(java.math.BigInteger height)
height - Block height. (required)public void getMerkleReceipts(java.math.BigInteger height,
java.lang.String hash,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MerkleProofInfoDTO>> resultHandler)
height - Block height. (required)hash - Receipt hash. (required)resultHandler - Asynchronous result handlerpublic rx.Single<MerkleProofInfoDTO> rxGetMerkleReceipts(java.math.BigInteger height, java.lang.String hash)
height - Block height. (required)hash - Receipt hash. (required)public void getMerkleTransaction(java.math.BigInteger height,
java.lang.String hash,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MerkleProofInfoDTO>> resultHandler)
height - Block height. (required)hash - Transaction hash. (required)resultHandler - Asynchronous result handlerpublic rx.Single<MerkleProofInfoDTO> rxGetMerkleTransaction(java.math.BigInteger height, java.lang.String hash)
height - Block height. (required)hash - Transaction hash. (required)public void searchBlocks(java.lang.String signerPublicKey,
java.lang.String beneficiaryAddress,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order,
BlockOrderByEnum orderBy,
io.vertx.core.Handler<io.vertx.core.AsyncResult<BlockPage>> resultHandler)
signerPublicKey - Filter by public key of the account signing the entity. (optional)beneficiaryAddress - Filter by beneficiary address. (optional)pageSize - Select the number of entries to return. (optional, default to 10)pageNumber - Filter by page number. (optional, default to 1)offset - Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. (optional)order - Sort responses in ascending or descending order based on the collection property set on the param ``orderBy``. If the request does not specify ``orderBy``, REST returns the collection ordered by id. (optional, default to desc)orderBy - Sort responses by the property set. (optional)resultHandler - Asynchronous result handlerpublic rx.Single<BlockPage> rxSearchBlocks(java.lang.String signerPublicKey, java.lang.String beneficiaryAddress, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.lang.String offset, Order order, BlockOrderByEnum orderBy)
signerPublicKey - Filter by public key of the account signing the entity. (optional)beneficiaryAddress - Filter by beneficiary address. (optional)pageSize - Select the number of entries to return. (optional, default to 10)pageNumber - Filter by page number. (optional, default to 1)offset - Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. (optional)order - Sort responses in ascending or descending order based on the collection property set on the param ``orderBy``. If the request does not specify ``orderBy``, REST returns the collection ordered by id. (optional, default to desc)orderBy - Sort responses by the property set. (optional)public static BlockRoutesApi newInstance(BlockRoutesApi arg)