public class ReceiptRoutesApi
extends java.lang.Object
| Constructor and Description |
|---|
ReceiptRoutesApi() |
ReceiptRoutesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
StatementsDTO |
getBlockReceipts(java.math.BigInteger height)
Get receipts from a block
Returns the receipts linked to a block.
|
okhttp3.Call |
getBlockReceiptsAsync(java.math.BigInteger height,
ApiCallback<StatementsDTO> _callback)
Get receipts from a block (asynchronously)
Returns the receipts linked to a block.
|
okhttp3.Call |
getBlockReceiptsCall(java.math.BigInteger height,
ApiCallback _callback)
Build call for getBlockReceipts
|
ApiResponse<StatementsDTO> |
getBlockReceiptsWithHttpInfo(java.math.BigInteger height)
Get receipts from a block
Returns the receipts linked to a block.
|
MerkleProofInfoDTO |
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.
|
okhttp3.Call |
getMerkleReceiptsAsync(java.math.BigInteger height,
java.lang.String hash,
ApiCallback<MerkleProofInfoDTO> _callback)
Get the merkle path for a given a receipt statement hash and block (asynchronously)
Returns the merkle path for a receipt statement or resolution linked to a block.
|
okhttp3.Call |
getMerkleReceiptsCall(java.math.BigInteger height,
java.lang.String hash,
ApiCallback _callback)
Build call for getMerkleReceipts
|
ApiResponse<MerkleProofInfoDTO> |
getMerkleReceiptsWithHttpInfo(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.
|
void |
setApiClient(ApiClient apiClient) |
public ReceiptRoutesApi()
public ReceiptRoutesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call getBlockReceiptsCall(java.math.BigInteger height,
ApiCallback _callback)
throws ApiException
height - Block height. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public StatementsDTO getBlockReceipts(java.math.BigInteger height) throws ApiException
height - Block height. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public ApiResponse<StatementsDTO> getBlockReceiptsWithHttpInfo(java.math.BigInteger height) throws ApiException
height - Block height. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public okhttp3.Call getBlockReceiptsAsync(java.math.BigInteger height,
ApiCallback<StatementsDTO> _callback)
throws ApiException
height - Block height. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public okhttp3.Call getMerkleReceiptsCall(java.math.BigInteger height,
java.lang.String hash,
ApiCallback _callback)
throws ApiException
height - Block height. (required)hash - Receipt hash. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public MerkleProofInfoDTO getMerkleReceipts(java.math.BigInteger height, java.lang.String hash) throws ApiException
height - Block height. (required)hash - Receipt hash. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public ApiResponse<MerkleProofInfoDTO> getMerkleReceiptsWithHttpInfo(java.math.BigInteger height, java.lang.String hash) throws ApiException
height - Block height. (required)hash - Receipt hash. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public okhttp3.Call getMerkleReceiptsAsync(java.math.BigInteger height,
java.lang.String hash,
ApiCallback<MerkleProofInfoDTO> _callback)
throws ApiException
height - Block height. (required)hash - Receipt hash. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |