@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-11-12T11:58:50.284Z[UTC]")
public class HashLockRoutesApi
extends java.lang.Object
| Constructor and Description |
|---|
HashLockRoutesApi() |
HashLockRoutesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
HashLockInfoDTO |
getHashLock(java.lang.String hash)
Get hash lock information
Gets the hash lock for a given hash.
|
MerkleStateInfoDTO |
getHashLockMerkle(java.lang.String hash)
Get hash lock merkle information
Gets the hash lock merkle for a given hash.
|
ApiResponse<MerkleStateInfoDTO> |
getHashLockMerkleWithHttpInfo(java.lang.String hash)
Get hash lock merkle information
Gets the hash lock merkle for a given hash.
|
ApiResponse<HashLockInfoDTO> |
getHashLockWithHttpInfo(java.lang.String hash)
Get hash lock information
Gets the hash lock for a given hash.
|
HashLockPage |
searchHashLock(java.lang.String address,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order)
Search hash lock entries
Returns an array of hash locks.
|
ApiResponse<HashLockPage> |
searchHashLockWithHttpInfo(java.lang.String address,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order)
Search hash lock entries
Returns an array of hash locks.
|
void |
setApiClient(ApiClient apiClient) |
public HashLockRoutesApi()
public HashLockRoutesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public HashLockInfoDTO getHashLock(java.lang.String hash) throws ApiException
hash - Filter by hash. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 409 | InvalidArgument | - |
public ApiResponse<HashLockInfoDTO> getHashLockWithHttpInfo(java.lang.String hash) throws ApiException
hash - Filter by hash. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 409 | InvalidArgument | - |
public MerkleStateInfoDTO getHashLockMerkle(java.lang.String hash) throws ApiException
hash - Filter by hash. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 409 | InvalidArgument | - |
public ApiResponse<MerkleStateInfoDTO> getHashLockMerkleWithHttpInfo(java.lang.String hash) throws ApiException
hash - Filter by hash. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 409 | InvalidArgument | - |
public HashLockPage searchHashLock(java.lang.String address, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.lang.String offset, Order order) throws ApiException
address - Filter by address involved in the transaction. An account's address is considered to be involved in the transaction when the account is the sender, recipient, or it is required to cosign the transaction. This filter cannot be combined with ``recipientAddress`` and ``signerPublicKey`` query params. (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)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 409 | InvalidArgument | - |
public ApiResponse<HashLockPage> searchHashLockWithHttpInfo(java.lang.String address, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.lang.String offset, Order order) throws ApiException
address - Filter by address involved in the transaction. An account's address is considered to be involved in the transaction when the account is the sender, recipient, or it is required to cosign the transaction. This filter cannot be combined with ``recipientAddress`` and ``signerPublicKey`` query params. (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)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 409 | InvalidArgument | - |