@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2020-06-26T18:32:22.702Z[UTC]")
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.
|
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.
|
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 StatementsDTO getBlockReceipts(java.math.BigInteger height) throws ApiException
height - Block height. (required)ApiException - if fails to make API call| 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 fails to make API call| 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 fails to make API call| 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 fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |