@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2020-03-09T15:36:44.645Z[UTC]")
public class ReceiptRoutesApi
extends java.lang.Object
| Constructor and Description |
|---|
ReceiptRoutesApi(ReceiptRoutesApi delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
getBlockReceipts(java.math.BigInteger height,
io.vertx.core.Handler<io.vertx.core.AsyncResult<StatementsDTO>> resultHandler)
Get receipts from a block
Returns the receipts linked to a block.
|
ReceiptRoutesApi |
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.
|
static ReceiptRoutesApi |
newInstance(ReceiptRoutesApi arg) |
rx.Single<StatementsDTO> |
rxGetBlockReceipts(java.math.BigInteger height)
Get receipts from a block
Returns the receipts linked to a block.
|
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.
|
public ReceiptRoutesApi(ReceiptRoutesApi delegate)
public ReceiptRoutesApi getDelegate()
public void getBlockReceipts(java.math.BigInteger height,
io.vertx.core.Handler<io.vertx.core.AsyncResult<StatementsDTO>> resultHandler)
height - Block height. (required)resultHandler - Asynchronous result handlerpublic rx.Single<StatementsDTO> rxGetBlockReceipts(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 static ReceiptRoutesApi newInstance(ReceiptRoutesApi arg)