public class TransactionRoutesApi
extends java.lang.Object
| Constructor and Description |
|---|
TransactionRoutesApi() |
TransactionRoutesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
AnnounceTransactionInfoDTO |
announceCosignatureTransaction(Cosignature cosignature)
Announce a cosignature transaction
Announces a cosignature transaction to the network.
|
okhttp3.Call |
announceCosignatureTransactionAsync(Cosignature cosignature,
ApiCallback<AnnounceTransactionInfoDTO> _callback)
Announce a cosignature transaction (asynchronously)
Announces a cosignature transaction to the network.
|
okhttp3.Call |
announceCosignatureTransactionCall(Cosignature cosignature,
ApiCallback _callback)
Build call for announceCosignatureTransaction
|
ApiResponse<AnnounceTransactionInfoDTO> |
announceCosignatureTransactionWithHttpInfo(Cosignature cosignature)
Announce a cosignature transaction
Announces a cosignature transaction to the network.
|
AnnounceTransactionInfoDTO |
announcePartialTransaction(TransactionPayload transactionPayload)
Announce an aggregate bonded transaction
Announces an aggregate bonded transaction to the network.
|
okhttp3.Call |
announcePartialTransactionAsync(TransactionPayload transactionPayload,
ApiCallback<AnnounceTransactionInfoDTO> _callback)
Announce an aggregate bonded transaction (asynchronously)
Announces an aggregate bonded transaction to the network.
|
okhttp3.Call |
announcePartialTransactionCall(TransactionPayload transactionPayload,
ApiCallback _callback)
Build call for announcePartialTransaction
|
ApiResponse<AnnounceTransactionInfoDTO> |
announcePartialTransactionWithHttpInfo(TransactionPayload transactionPayload)
Announce an aggregate bonded transaction
Announces an aggregate bonded transaction to the network.
|
AnnounceTransactionInfoDTO |
announceTransaction(TransactionPayload transactionPayload)
Announce a new transaction
Announces a transaction to the network.
|
okhttp3.Call |
announceTransactionAsync(TransactionPayload transactionPayload,
ApiCallback<AnnounceTransactionInfoDTO> _callback)
Announce a new transaction (asynchronously)
Announces a transaction to the network.
|
okhttp3.Call |
announceTransactionCall(TransactionPayload transactionPayload,
ApiCallback _callback)
Build call for announceTransaction
|
ApiResponse<AnnounceTransactionInfoDTO> |
announceTransactionWithHttpInfo(TransactionPayload transactionPayload)
Announce a new transaction
Announces a transaction to the network.
|
ApiClient |
getApiClient() |
TransactionInfoDTO |
getTransaction(java.lang.String transactionId)
Get transaction information
Returns transaction information given a transactionId or hash.
|
okhttp3.Call |
getTransactionAsync(java.lang.String transactionId,
ApiCallback<TransactionInfoDTO> _callback)
Get transaction information (asynchronously)
Returns transaction information given a transactionId or hash.
|
okhttp3.Call |
getTransactionCall(java.lang.String transactionId,
ApiCallback _callback)
Build call for getTransaction
|
java.util.List<TransactionInfoDTO> |
getTransactions(TransactionIds transactionIds)
Get transactions information
Returns transactions information for a given array of transactionIds.
|
okhttp3.Call |
getTransactionsAsync(TransactionIds transactionIds,
ApiCallback<java.util.List<TransactionInfoDTO>> _callback)
Get transactions information (asynchronously)
Returns transactions information for a given array of transactionIds.
|
okhttp3.Call |
getTransactionsCall(TransactionIds transactionIds,
ApiCallback _callback)
Build call for getTransactions
|
java.util.List<TransactionStatusDTO> |
getTransactionsStatuses(TransactionHashes transactionHashes)
Get transactions status
Returns an array of transaction statuses for a given array of transaction hashes.
|
okhttp3.Call |
getTransactionsStatusesAsync(TransactionHashes transactionHashes,
ApiCallback<java.util.List<TransactionStatusDTO>> _callback)
Get transactions status (asynchronously)
Returns an array of transaction statuses for a given array of transaction hashes.
|
okhttp3.Call |
getTransactionsStatusesCall(TransactionHashes transactionHashes,
ApiCallback _callback)
Build call for getTransactionsStatuses
|
ApiResponse<java.util.List<TransactionStatusDTO>> |
getTransactionsStatusesWithHttpInfo(TransactionHashes transactionHashes)
Get transactions status
Returns an array of transaction statuses for a given array of transaction hashes.
|
TransactionStatusDTO |
getTransactionStatus(java.lang.String hash)
Get transaction status
Returns the transaction status for a given hash.
|
okhttp3.Call |
getTransactionStatusAsync(java.lang.String hash,
ApiCallback<TransactionStatusDTO> _callback)
Get transaction status (asynchronously)
Returns the transaction status for a given hash.
|
okhttp3.Call |
getTransactionStatusCall(java.lang.String hash,
ApiCallback _callback)
Build call for getTransactionStatus
|
ApiResponse<TransactionStatusDTO> |
getTransactionStatusWithHttpInfo(java.lang.String hash)
Get transaction status
Returns the transaction status for a given hash.
|
ApiResponse<java.util.List<TransactionInfoDTO>> |
getTransactionsWithHttpInfo(TransactionIds transactionIds)
Get transactions information
Returns transactions information for a given array of transactionIds.
|
ApiResponse<TransactionInfoDTO> |
getTransactionWithHttpInfo(java.lang.String transactionId)
Get transaction information
Returns transaction information given a transactionId or hash.
|
void |
setApiClient(ApiClient apiClient) |
public TransactionRoutesApi()
public TransactionRoutesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call announceCosignatureTransactionCall(Cosignature cosignature, ApiCallback _callback) throws ApiException
cosignature - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 202 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public AnnounceTransactionInfoDTO announceCosignatureTransaction(Cosignature cosignature) throws ApiException
cosignature - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 202 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public ApiResponse<AnnounceTransactionInfoDTO> announceCosignatureTransactionWithHttpInfo(Cosignature cosignature) throws ApiException
cosignature - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 202 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public okhttp3.Call announceCosignatureTransactionAsync(Cosignature cosignature, ApiCallback<AnnounceTransactionInfoDTO> _callback) throws ApiException
cosignature - (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 |
| 202 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public okhttp3.Call announcePartialTransactionCall(TransactionPayload transactionPayload, ApiCallback _callback) throws ApiException
transactionPayload - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 202 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public AnnounceTransactionInfoDTO announcePartialTransaction(TransactionPayload transactionPayload) throws ApiException
transactionPayload - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 202 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public ApiResponse<AnnounceTransactionInfoDTO> announcePartialTransactionWithHttpInfo(TransactionPayload transactionPayload) throws ApiException
transactionPayload - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 202 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public okhttp3.Call announcePartialTransactionAsync(TransactionPayload transactionPayload, ApiCallback<AnnounceTransactionInfoDTO> _callback) throws ApiException
transactionPayload - (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 |
| 202 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public okhttp3.Call announceTransactionCall(TransactionPayload transactionPayload, ApiCallback _callback) throws ApiException
transactionPayload - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 202 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public AnnounceTransactionInfoDTO announceTransaction(TransactionPayload transactionPayload) throws ApiException
transactionPayload - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 202 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public ApiResponse<AnnounceTransactionInfoDTO> announceTransactionWithHttpInfo(TransactionPayload transactionPayload) throws ApiException
transactionPayload - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 202 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public okhttp3.Call announceTransactionAsync(TransactionPayload transactionPayload, ApiCallback<AnnounceTransactionInfoDTO> _callback) throws ApiException
transactionPayload - (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 |
| 202 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public okhttp3.Call getTransactionCall(java.lang.String transactionId,
ApiCallback _callback)
throws ApiException
transactionId - Transaction identifier or 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 TransactionInfoDTO getTransaction(java.lang.String transactionId) throws ApiException
transactionId - Transaction identifier or 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<TransactionInfoDTO> getTransactionWithHttpInfo(java.lang.String transactionId) throws ApiException
transactionId - Transaction identifier or 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 getTransactionAsync(java.lang.String transactionId,
ApiCallback<TransactionInfoDTO> _callback)
throws ApiException
transactionId - Transaction identifier or 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 | - |
public okhttp3.Call getTransactionStatusCall(java.lang.String hash,
ApiCallback _callback)
throws ApiException
hash - Transaction 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 TransactionStatusDTO getTransactionStatus(java.lang.String hash) throws ApiException
hash - Transaction 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<TransactionStatusDTO> getTransactionStatusWithHttpInfo(java.lang.String hash) throws ApiException
hash - Transaction 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 getTransactionStatusAsync(java.lang.String hash,
ApiCallback<TransactionStatusDTO> _callback)
throws ApiException
hash - Transaction 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 | - |
public okhttp3.Call getTransactionsCall(TransactionIds transactionIds, ApiCallback _callback) throws ApiException
transactionIds - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public java.util.List<TransactionInfoDTO> getTransactions(TransactionIds transactionIds) throws ApiException
transactionIds - (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 | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public ApiResponse<java.util.List<TransactionInfoDTO>> getTransactionsWithHttpInfo(TransactionIds transactionIds) throws ApiException
transactionIds - (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 | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public okhttp3.Call getTransactionsAsync(TransactionIds transactionIds, ApiCallback<java.util.List<TransactionInfoDTO>> _callback) throws ApiException
transactionIds - (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 | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public okhttp3.Call getTransactionsStatusesCall(TransactionHashes transactionHashes, ApiCallback _callback) throws ApiException
transactionHashes - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public java.util.List<TransactionStatusDTO> getTransactionsStatuses(TransactionHashes transactionHashes) throws ApiException
transactionHashes - (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 | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public ApiResponse<java.util.List<TransactionStatusDTO>> getTransactionsStatusesWithHttpInfo(TransactionHashes transactionHashes) throws ApiException
transactionHashes - (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 | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public okhttp3.Call getTransactionsStatusesAsync(TransactionHashes transactionHashes, ApiCallback<java.util.List<TransactionStatusDTO>> _callback) throws ApiException
transactionHashes - (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 | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |