Class TransactionRoutesApi


  • public class TransactionRoutesApi
    extends java.lang.Object
    • Constructor Detail

      • TransactionRoutesApi

        public TransactionRoutesApi()
      • TransactionRoutesApi

        public TransactionRoutesApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • announceCosignatureTransactionCall

        public okhttp3.Call announceCosignatureTransactionCall​(Cosignature cosignature,
                                                               ApiCallback _callback)
                                                        throws ApiException
        Build call for announceCosignatureTransaction
        Parameters:
        cosignature - (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        202 success -
        400 InvalidContent -
        409 InvalidArgument -
      • announceCosignatureTransaction

        public AnnounceTransactionInfoDTO announceCosignatureTransaction​(Cosignature cosignature)
                                                                  throws ApiException
        Announce a cosignature transaction Announces a cosignature transaction to the network.
        Parameters:
        cosignature - (required)
        Returns:
        AnnounceTransactionInfoDTO
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        202 success -
        400 InvalidContent -
        409 InvalidArgument -
      • announceCosignatureTransactionWithHttpInfo

        public ApiResponse<AnnounceTransactionInfoDTO> announceCosignatureTransactionWithHttpInfo​(Cosignature cosignature)
                                                                                           throws ApiException
        Announce a cosignature transaction Announces a cosignature transaction to the network.
        Parameters:
        cosignature - (required)
        Returns:
        ApiResponse<AnnounceTransactionInfoDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        202 success -
        400 InvalidContent -
        409 InvalidArgument -
      • announceCosignatureTransactionAsync

        public okhttp3.Call announceCosignatureTransactionAsync​(Cosignature cosignature,
                                                                ApiCallback<AnnounceTransactionInfoDTO> _callback)
                                                         throws ApiException
        Announce a cosignature transaction (asynchronously) Announces a cosignature transaction to the network.
        Parameters:
        cosignature - (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details
        Status Code Description Response Headers
        202 success -
        400 InvalidContent -
        409 InvalidArgument -
      • announcePartialTransactionCall

        public okhttp3.Call announcePartialTransactionCall​(TransactionPayload transactionPayload,
                                                           ApiCallback _callback)
                                                    throws ApiException
        Build call for announcePartialTransaction
        Parameters:
        transactionPayload - (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        202 success -
        400 InvalidContent -
        409 InvalidArgument -
      • announcePartialTransaction

        public AnnounceTransactionInfoDTO announcePartialTransaction​(TransactionPayload transactionPayload)
                                                              throws ApiException
        Announce an aggregate bonded transaction Announces an aggregate bonded transaction to the network.
        Parameters:
        transactionPayload - (required)
        Returns:
        AnnounceTransactionInfoDTO
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        202 success -
        400 InvalidContent -
        409 InvalidArgument -
      • announcePartialTransactionWithHttpInfo

        public ApiResponse<AnnounceTransactionInfoDTO> announcePartialTransactionWithHttpInfo​(TransactionPayload transactionPayload)
                                                                                       throws ApiException
        Announce an aggregate bonded transaction Announces an aggregate bonded transaction to the network.
        Parameters:
        transactionPayload - (required)
        Returns:
        ApiResponse<AnnounceTransactionInfoDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        202 success -
        400 InvalidContent -
        409 InvalidArgument -
      • announcePartialTransactionAsync

        public okhttp3.Call announcePartialTransactionAsync​(TransactionPayload transactionPayload,
                                                            ApiCallback<AnnounceTransactionInfoDTO> _callback)
                                                     throws ApiException
        Announce an aggregate bonded transaction (asynchronously) Announces an aggregate bonded transaction to the network.
        Parameters:
        transactionPayload - (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details
        Status Code Description Response Headers
        202 success -
        400 InvalidContent -
        409 InvalidArgument -
      • announceTransactionCall

        public okhttp3.Call announceTransactionCall​(TransactionPayload transactionPayload,
                                                    ApiCallback _callback)
                                             throws ApiException
        Build call for announceTransaction
        Parameters:
        transactionPayload - (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        202 success -
        400 InvalidContent -
        409 InvalidArgument -
      • announceTransaction

        public AnnounceTransactionInfoDTO announceTransaction​(TransactionPayload transactionPayload)
                                                       throws ApiException
        Announce a new transaction Announces a transaction to the network. We recommended to use the NEM2-SDK to announce transactions as they should be serialized.
        Parameters:
        transactionPayload - (required)
        Returns:
        AnnounceTransactionInfoDTO
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        202 success -
        400 InvalidContent -
        409 InvalidArgument -
      • announceTransactionWithHttpInfo

        public ApiResponse<AnnounceTransactionInfoDTO> announceTransactionWithHttpInfo​(TransactionPayload transactionPayload)
                                                                                throws ApiException
        Announce a new transaction Announces a transaction to the network. We recommended to use the NEM2-SDK to announce transactions as they should be serialized.
        Parameters:
        transactionPayload - (required)
        Returns:
        ApiResponse<AnnounceTransactionInfoDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        202 success -
        400 InvalidContent -
        409 InvalidArgument -
      • announceTransactionAsync

        public okhttp3.Call announceTransactionAsync​(TransactionPayload transactionPayload,
                                                     ApiCallback<AnnounceTransactionInfoDTO> _callback)
                                              throws ApiException
        Announce a new transaction (asynchronously) Announces a transaction to the network. We recommended to use the NEM2-SDK to announce transactions as they should be serialized.
        Parameters:
        transactionPayload - (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details
        Status Code Description Response Headers
        202 success -
        400 InvalidContent -
        409 InvalidArgument -
      • getTransactionCall

        public okhttp3.Call getTransactionCall​(java.lang.String transactionId,
                                               ApiCallback _callback)
                                        throws ApiException
        Build call for getTransaction
        Parameters:
        transactionId - Transaction identifier or hash. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getTransaction

        public TransactionInfoDTO getTransaction​(java.lang.String transactionId)
                                          throws ApiException
        Get transaction information Returns transaction information given a transactionId or hash.
        Parameters:
        transactionId - Transaction identifier or hash. (required)
        Returns:
        TransactionInfoDTO
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getTransactionWithHttpInfo

        public ApiResponse<TransactionInfoDTO> getTransactionWithHttpInfo​(java.lang.String transactionId)
                                                                   throws ApiException
        Get transaction information Returns transaction information given a transactionId or hash.
        Parameters:
        transactionId - Transaction identifier or hash. (required)
        Returns:
        ApiResponse<TransactionInfoDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getTransactionAsync

        public okhttp3.Call getTransactionAsync​(java.lang.String transactionId,
                                                ApiCallback<TransactionInfoDTO> _callback)
                                         throws ApiException
        Get transaction information (asynchronously) Returns transaction information given a transactionId or hash.
        Parameters:
        transactionId - Transaction identifier or hash. (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getTransactionStatusCall

        public okhttp3.Call getTransactionStatusCall​(java.lang.String hash,
                                                     ApiCallback _callback)
                                              throws ApiException
        Build call for getTransactionStatus
        Parameters:
        hash - Transaction hash. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getTransactionStatus

        public TransactionStatusDTO getTransactionStatus​(java.lang.String hash)
                                                  throws ApiException
        Get transaction status Returns the transaction status for a given hash.
        Parameters:
        hash - Transaction hash. (required)
        Returns:
        TransactionStatusDTO
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getTransactionStatusWithHttpInfo

        public ApiResponse<TransactionStatusDTO> getTransactionStatusWithHttpInfo​(java.lang.String hash)
                                                                           throws ApiException
        Get transaction status Returns the transaction status for a given hash.
        Parameters:
        hash - Transaction hash. (required)
        Returns:
        ApiResponse<TransactionStatusDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getTransactionStatusAsync

        public okhttp3.Call getTransactionStatusAsync​(java.lang.String hash,
                                                      ApiCallback<TransactionStatusDTO> _callback)
                                               throws ApiException
        Get transaction status (asynchronously) Returns the transaction status for a given hash.
        Parameters:
        hash - Transaction hash. (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getTransactionsCall

        public okhttp3.Call getTransactionsCall​(TransactionIds transactionIds,
                                                ApiCallback _callback)
                                         throws ApiException
        Build call for getTransactions
        Parameters:
        transactionIds - (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        200 success -
        400 InvalidContent -
        409 InvalidArgument -
      • getTransactions

        public java.util.List<TransactionInfoDTO> getTransactions​(TransactionIds transactionIds)
                                                           throws ApiException
        Get transactions information Returns transactions information for a given array of transactionIds.
        Parameters:
        transactionIds - (required)
        Returns:
        List<TransactionInfoDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 success -
        400 InvalidContent -
        409 InvalidArgument -
      • getTransactionsWithHttpInfo

        public ApiResponse<java.util.List<TransactionInfoDTO>> getTransactionsWithHttpInfo​(TransactionIds transactionIds)
                                                                                    throws ApiException
        Get transactions information Returns transactions information for a given array of transactionIds.
        Parameters:
        transactionIds - (required)
        Returns:
        ApiResponse<List<TransactionInfoDTO>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 success -
        400 InvalidContent -
        409 InvalidArgument -
      • getTransactionsAsync

        public okhttp3.Call getTransactionsAsync​(TransactionIds transactionIds,
                                                 ApiCallback<java.util.List<TransactionInfoDTO>> _callback)
                                          throws ApiException
        Get transactions information (asynchronously) Returns transactions information for a given array of transactionIds.
        Parameters:
        transactionIds - (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details
        Status Code Description Response Headers
        200 success -
        400 InvalidContent -
        409 InvalidArgument -
      • getTransactionsStatusesCall

        public okhttp3.Call getTransactionsStatusesCall​(TransactionHashes transactionHashes,
                                                        ApiCallback _callback)
                                                 throws ApiException
        Build call for getTransactionsStatuses
        Parameters:
        transactionHashes - (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        200 success -
        400 InvalidContent -
        409 InvalidArgument -
      • getTransactionsStatuses

        public java.util.List<TransactionStatusDTO> getTransactionsStatuses​(TransactionHashes transactionHashes)
                                                                     throws ApiException
        Get transactions status Returns an array of transaction statuses for a given array of transaction hashes.
        Parameters:
        transactionHashes - (required)
        Returns:
        List<TransactionStatusDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 success -
        400 InvalidContent -
        409 InvalidArgument -
      • getTransactionsStatusesWithHttpInfo

        public ApiResponse<java.util.List<TransactionStatusDTO>> getTransactionsStatusesWithHttpInfo​(TransactionHashes transactionHashes)
                                                                                              throws ApiException
        Get transactions status Returns an array of transaction statuses for a given array of transaction hashes.
        Parameters:
        transactionHashes - (required)
        Returns:
        ApiResponse<List<TransactionStatusDTO>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 success -
        400 InvalidContent -
        409 InvalidArgument -
      • getTransactionsStatusesAsync

        public okhttp3.Call getTransactionsStatusesAsync​(TransactionHashes transactionHashes,
                                                         ApiCallback<java.util.List<TransactionStatusDTO>> _callback)
                                                  throws ApiException
        Get transactions status (asynchronously) Returns an array of transaction statuses for a given array of transaction hashes.
        Parameters:
        transactionHashes - (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details
        Status Code Description Response Headers
        200 success -
        400 InvalidContent -
        409 InvalidArgument -