Class AccountRoutesApi


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-02-02T21:53:44.206008392-03:00[America/Argentina/Buenos_Aires]")
    public class AccountRoutesApi
    extends java.lang.Object
    • Constructor Detail

      • AccountRoutesApi

        public AccountRoutesApi()
      • AccountRoutesApi

        public AccountRoutesApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getAccountConfirmedTransactions

        public java.util.List<TransactionInfoDTO> getAccountConfirmedTransactions​(java.lang.String accountId,
                                                                                  java.lang.Integer pageSize,
                                                                                  java.lang.String id,
                                                                                  java.lang.String ordering,
                                                                                  TransactionTypeEnum type)
                                                                           throws ApiException
        Get confirmed transactions Gets an array of transactions for which an account is the sender or receiver.
        Parameters:
        accountId - Account public key or address. (required)
        pageSize - Number of transactions to return for each request. (optional, default to 10)
        id - Transaction identifier up to which transactions are returned. (optional)
        ordering - Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")
        type - Transaction type to filter by. (optional)
        Returns:
        List<TransactionInfoDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        409 InvalidArgument -
      • getAccountConfirmedTransactionsWithHttpInfo

        public ApiResponse<java.util.List<TransactionInfoDTO>> getAccountConfirmedTransactionsWithHttpInfo​(java.lang.String accountId,
                                                                                                           java.lang.Integer pageSize,
                                                                                                           java.lang.String id,
                                                                                                           java.lang.String ordering,
                                                                                                           TransactionTypeEnum type)
                                                                                                    throws ApiException
        Get confirmed transactions Gets an array of transactions for which an account is the sender or receiver.
        Parameters:
        accountId - Account public key or address. (required)
        pageSize - Number of transactions to return for each request. (optional, default to 10)
        id - Transaction identifier up to which transactions are returned. (optional)
        ordering - Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")
        type - Transaction type to filter by. (optional)
        Returns:
        ApiResponse<List<TransactionInfoDTO>>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        409 InvalidArgument -
      • getAccountIncomingTransactions

        public java.util.List<TransactionInfoDTO> getAccountIncomingTransactions​(java.lang.String accountId,
                                                                                 java.lang.Integer pageSize,
                                                                                 java.lang.String id,
                                                                                 java.lang.String ordering,
                                                                                 TransactionTypeEnum type)
                                                                          throws ApiException
        Get incoming transactions Gets an array of incoming transactions. A transaction is said to be incoming with respect to an account if the account is the recipient of the transaction.
        Parameters:
        accountId - Account public key or address. (required)
        pageSize - Number of transactions to return for each request. (optional, default to 10)
        id - Transaction identifier up to which transactions are returned. (optional)
        ordering - Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")
        type - Transaction type to filter by. (optional)
        Returns:
        List<TransactionInfoDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        409 InvalidArgument -
      • getAccountIncomingTransactionsWithHttpInfo

        public ApiResponse<java.util.List<TransactionInfoDTO>> getAccountIncomingTransactionsWithHttpInfo​(java.lang.String accountId,
                                                                                                          java.lang.Integer pageSize,
                                                                                                          java.lang.String id,
                                                                                                          java.lang.String ordering,
                                                                                                          TransactionTypeEnum type)
                                                                                                   throws ApiException
        Get incoming transactions Gets an array of incoming transactions. A transaction is said to be incoming with respect to an account if the account is the recipient of the transaction.
        Parameters:
        accountId - Account public key or address. (required)
        pageSize - Number of transactions to return for each request. (optional, default to 10)
        id - Transaction identifier up to which transactions are returned. (optional)
        ordering - Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")
        type - Transaction type to filter by. (optional)
        Returns:
        ApiResponse<List<TransactionInfoDTO>>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        409 InvalidArgument -
      • getAccountInfo

        public AccountInfoDTO getAccountInfo​(java.lang.String accountId)
                                      throws ApiException
        Get account information Returns the account information.
        Parameters:
        accountId - Account public key or address. (required)
        Returns:
        AccountInfoDTO
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getAccountInfoWithHttpInfo

        public ApiResponse<AccountInfoDTO> getAccountInfoWithHttpInfo​(java.lang.String accountId)
                                                               throws ApiException
        Get account information Returns the account information.
        Parameters:
        accountId - Account public key or address. (required)
        Returns:
        ApiResponse<AccountInfoDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getAccountOutgoingTransactions

        public java.util.List<TransactionInfoDTO> getAccountOutgoingTransactions​(java.lang.String accountId,
                                                                                 java.lang.Integer pageSize,
                                                                                 java.lang.String id,
                                                                                 java.lang.String ordering,
                                                                                 TransactionTypeEnum type)
                                                                          throws ApiException
        Get outgoing transactions Gets an array of outgoing transactions. A transaction is said to be outgoing with respect to an account if the account is the sender of the transaction.
        Parameters:
        accountId - Account public key or address. (required)
        pageSize - Number of transactions to return for each request. (optional, default to 10)
        id - Transaction identifier up to which transactions are returned. (optional)
        ordering - Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")
        type - Transaction type to filter by. (optional)
        Returns:
        List<TransactionInfoDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        409 InvalidArgument -
      • getAccountOutgoingTransactionsWithHttpInfo

        public ApiResponse<java.util.List<TransactionInfoDTO>> getAccountOutgoingTransactionsWithHttpInfo​(java.lang.String accountId,
                                                                                                          java.lang.Integer pageSize,
                                                                                                          java.lang.String id,
                                                                                                          java.lang.String ordering,
                                                                                                          TransactionTypeEnum type)
                                                                                                   throws ApiException
        Get outgoing transactions Gets an array of outgoing transactions. A transaction is said to be outgoing with respect to an account if the account is the sender of the transaction.
        Parameters:
        accountId - Account public key or address. (required)
        pageSize - Number of transactions to return for each request. (optional, default to 10)
        id - Transaction identifier up to which transactions are returned. (optional)
        ordering - Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")
        type - Transaction type to filter by. (optional)
        Returns:
        ApiResponse<List<TransactionInfoDTO>>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        409 InvalidArgument -
      • getAccountPartialTransactions

        public java.util.List<TransactionInfoDTO> getAccountPartialTransactions​(java.lang.String accountId,
                                                                                java.lang.Integer pageSize,
                                                                                java.lang.String id,
                                                                                java.lang.String ordering,
                                                                                TransactionTypeEnum type)
                                                                         throws ApiException
        Get aggregate bonded transactions information Gets an array of aggregate bonded transactions where the account is the sender or requires to cosign the transaction.
        Parameters:
        accountId - Account public key or address. (required)
        pageSize - Number of transactions to return for each request. (optional, default to 10)
        id - Transaction identifier up to which transactions are returned. (optional)
        ordering - Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")
        type - Transaction type to filter by. (optional)
        Returns:
        List<TransactionInfoDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        409 InvalidArgument -
      • getAccountPartialTransactionsWithHttpInfo

        public ApiResponse<java.util.List<TransactionInfoDTO>> getAccountPartialTransactionsWithHttpInfo​(java.lang.String accountId,
                                                                                                         java.lang.Integer pageSize,
                                                                                                         java.lang.String id,
                                                                                                         java.lang.String ordering,
                                                                                                         TransactionTypeEnum type)
                                                                                                  throws ApiException
        Get aggregate bonded transactions information Gets an array of aggregate bonded transactions where the account is the sender or requires to cosign the transaction.
        Parameters:
        accountId - Account public key or address. (required)
        pageSize - Number of transactions to return for each request. (optional, default to 10)
        id - Transaction identifier up to which transactions are returned. (optional)
        ordering - Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")
        type - Transaction type to filter by. (optional)
        Returns:
        ApiResponse<List<TransactionInfoDTO>>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        409 InvalidArgument -
      • getAccountUnconfirmedTransactions

        public java.util.List<TransactionInfoDTO> getAccountUnconfirmedTransactions​(java.lang.String accountId,
                                                                                    java.lang.Integer pageSize,
                                                                                    java.lang.String id,
                                                                                    java.lang.String ordering,
                                                                                    TransactionTypeEnum type)
                                                                             throws ApiException
        Get unconfirmed transactions Gets the array of transactions not included in a block where an account is the sender or receiver.
        Parameters:
        accountId - Account public key or address. (required)
        pageSize - Number of transactions to return for each request. (optional, default to 10)
        id - Transaction identifier up to which transactions are returned. (optional)
        ordering - Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")
        type - Transaction type to filter by. (optional)
        Returns:
        List<TransactionInfoDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        409 InvalidArgument -
      • getAccountUnconfirmedTransactionsWithHttpInfo

        public ApiResponse<java.util.List<TransactionInfoDTO>> getAccountUnconfirmedTransactionsWithHttpInfo​(java.lang.String accountId,
                                                                                                             java.lang.Integer pageSize,
                                                                                                             java.lang.String id,
                                                                                                             java.lang.String ordering,
                                                                                                             TransactionTypeEnum type)
                                                                                                      throws ApiException
        Get unconfirmed transactions Gets the array of transactions not included in a block where an account is the sender or receiver.
        Parameters:
        accountId - Account public key or address. (required)
        pageSize - Number of transactions to return for each request. (optional, default to 10)
        id - Transaction identifier up to which transactions are returned. (optional)
        ordering - Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")
        type - Transaction type to filter by. (optional)
        Returns:
        ApiResponse<List<TransactionInfoDTO>>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        409 InvalidArgument -
      • getAccountsInfo

        public java.util.List<AccountInfoDTO> getAccountsInfo​(AccountIds accountIds)
                                                       throws ApiException
        Get accounts information Returns the account information for an array of accounts.
        Parameters:
        accountIds - (optional)
        Returns:
        List<AccountInfoDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        400 InvalidContent -
        409 InvalidArgument -
      • getAccountsInfoWithHttpInfo

        public ApiResponse<java.util.List<AccountInfoDTO>> getAccountsInfoWithHttpInfo​(AccountIds accountIds)
                                                                                throws ApiException
        Get accounts information Returns the account information for an array of accounts.
        Parameters:
        accountIds - (optional)
        Returns:
        ApiResponse<List<AccountInfoDTO>>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        400 InvalidContent -
        409 InvalidArgument -