Class AccountRoutesApi
- java.lang.Object
-
- io.nem.sdk.openapi.okhttp_gson.api.AccountRoutesApi
-
public class AccountRoutesApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AccountRoutesApi()AccountRoutesApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<TransactionInfoDTO>getAccountConfirmedTransactions(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType)Get confirmed transactions Gets an array of transactions for which an account is the sender or receiver.okhttp3.CallgetAccountConfirmedTransactionsAsync(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType, ApiCallback<java.util.List<TransactionInfoDTO>> _callback)Get confirmed transactions (asynchronously) Gets an array of transactions for which an account is the sender or receiver.okhttp3.CallgetAccountConfirmedTransactionsCall(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType, ApiCallback _callback)Build call for getAccountConfirmedTransactionsApiResponse<java.util.List<TransactionInfoDTO>>getAccountConfirmedTransactionsWithHttpInfo(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType)Get confirmed transactions Gets an array of transactions for which an account is the sender or receiver.java.util.List<TransactionInfoDTO>getAccountIncomingTransactions(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType)Get incoming transactions Gets an array of incoming transactions.okhttp3.CallgetAccountIncomingTransactionsAsync(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType, ApiCallback<java.util.List<TransactionInfoDTO>> _callback)Get incoming transactions (asynchronously) Gets an array of incoming transactions.okhttp3.CallgetAccountIncomingTransactionsCall(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType, ApiCallback _callback)Build call for getAccountIncomingTransactionsApiResponse<java.util.List<TransactionInfoDTO>>getAccountIncomingTransactionsWithHttpInfo(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType)Get incoming transactions Gets an array of incoming transactions.AccountInfoDTOgetAccountInfo(java.lang.String accountId)Get account information Returns the account information.okhttp3.CallgetAccountInfoAsync(java.lang.String accountId, ApiCallback<AccountInfoDTO> _callback)Get account information (asynchronously) Returns the account information.okhttp3.CallgetAccountInfoCall(java.lang.String accountId, ApiCallback _callback)Build call for getAccountInfoApiResponse<AccountInfoDTO>getAccountInfoWithHttpInfo(java.lang.String accountId)Get account information Returns the account information.java.util.List<TransactionInfoDTO>getAccountOutgoingTransactions(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType)Get outgoing transactions Gets an array of outgoing transactions.okhttp3.CallgetAccountOutgoingTransactionsAsync(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType, ApiCallback<java.util.List<TransactionInfoDTO>> _callback)Get outgoing transactions (asynchronously) Gets an array of outgoing transactions.okhttp3.CallgetAccountOutgoingTransactionsCall(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType, ApiCallback _callback)Build call for getAccountOutgoingTransactionsApiResponse<java.util.List<TransactionInfoDTO>>getAccountOutgoingTransactionsWithHttpInfo(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType)Get outgoing transactions Gets an array of outgoing transactions.java.util.List<TransactionInfoDTO>getAccountPartialTransactions(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType)Get aggregate bonded transactions information Gets an array of aggregate bonded transactions where the account is the sender or requires to cosign the transaction.okhttp3.CallgetAccountPartialTransactionsAsync(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType, ApiCallback<java.util.List<TransactionInfoDTO>> _callback)Get aggregate bonded transactions information (asynchronously) Gets an array of aggregate bonded transactions where the account is the sender or requires to cosign the transaction.okhttp3.CallgetAccountPartialTransactionsCall(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType, ApiCallback _callback)Build call for getAccountPartialTransactionsApiResponse<java.util.List<TransactionInfoDTO>>getAccountPartialTransactionsWithHttpInfo(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType)Get aggregate bonded transactions information Gets an array of aggregate bonded transactions where the account is the sender or requires to cosign the transaction.java.util.List<AccountInfoDTO>getAccountsInfo(AccountIds accountIds)Get accounts information Returns the account information for an array of accounts.okhttp3.CallgetAccountsInfoAsync(AccountIds accountIds, ApiCallback<java.util.List<AccountInfoDTO>> _callback)Get accounts information (asynchronously) Returns the account information for an array of accounts.okhttp3.CallgetAccountsInfoCall(AccountIds accountIds, ApiCallback _callback)Build call for getAccountsInfoApiResponse<java.util.List<AccountInfoDTO>>getAccountsInfoWithHttpInfo(AccountIds accountIds)Get accounts information Returns the account information for an array of accounts.java.util.List<TransactionInfoDTO>getAccountUnconfirmedTransactions(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType)Get unconfirmed transactions Gets the array of transactions not included in a block where an account is the sender or receiver.okhttp3.CallgetAccountUnconfirmedTransactionsAsync(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType, ApiCallback<java.util.List<TransactionInfoDTO>> _callback)Get unconfirmed transactions (asynchronously) Gets the array of transactions not included in a block where an account is the sender or receiver.okhttp3.CallgetAccountUnconfirmedTransactionsCall(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType, ApiCallback _callback)Build call for getAccountUnconfirmedTransactionsApiResponse<java.util.List<TransactionInfoDTO>>getAccountUnconfirmedTransactionsWithHttpInfo(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType)Get unconfirmed transactions Gets the array of transactions not included in a block where an account is the sender or receiver.ApiClientgetApiClient()voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
AccountRoutesApi
public AccountRoutesApi()
-
AccountRoutesApi
public AccountRoutesApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getAccountConfirmedTransactionsCall
public okhttp3.Call getAccountConfirmedTransactionsCall(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType, ApiCallback _callback) throws ApiExceptionBuild call for getAccountConfirmedTransactions- 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")transactionType- Transaction type to filter by. (optional)_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 - 409 InvalidArgument -
-
getAccountConfirmedTransactions
public java.util.List<TransactionInfoDTO> getAccountConfirmedTransactions(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType) 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")transactionType- Transaction type to filter by. (optional)- 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 - 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 transactionType) 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")transactionType- Transaction type to filter by. (optional)- 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 - 409 InvalidArgument -
-
getAccountConfirmedTransactionsAsync
public okhttp3.Call getAccountConfirmedTransactionsAsync(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType, ApiCallback<java.util.List<TransactionInfoDTO>> _callback) throws ApiExceptionGet confirmed transactions (asynchronously) 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")transactionType- Transaction type to filter by. (optional)_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 - 409 InvalidArgument -
-
getAccountIncomingTransactionsCall
public okhttp3.Call getAccountIncomingTransactionsCall(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType, ApiCallback _callback) throws ApiExceptionBuild call for getAccountIncomingTransactions- 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")transactionType- Transaction type to filter by. (optional)_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 - 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 transactionType) 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")transactionType- Transaction type to filter by. (optional)- 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 - 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 transactionType) 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")transactionType- Transaction type to filter by. (optional)- 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 - 409 InvalidArgument -
-
getAccountIncomingTransactionsAsync
public okhttp3.Call getAccountIncomingTransactionsAsync(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType, ApiCallback<java.util.List<TransactionInfoDTO>> _callback) throws ApiExceptionGet incoming transactions (asynchronously) 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")transactionType- Transaction type to filter by. (optional)_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 - 409 InvalidArgument -
-
getAccountInfoCall
public okhttp3.Call getAccountInfoCall(java.lang.String accountId, ApiCallback _callback) throws ApiExceptionBuild call for getAccountInfo- Parameters:
accountId- Account public key or address. (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 -
-
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 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 -
-
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 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 -
-
getAccountInfoAsync
public okhttp3.Call getAccountInfoAsync(java.lang.String accountId, ApiCallback<AccountInfoDTO> _callback) throws ApiExceptionGet account information (asynchronously) Returns the account information.- Parameters:
accountId- Account public key or address. (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 -
-
getAccountOutgoingTransactionsCall
public okhttp3.Call getAccountOutgoingTransactionsCall(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType, ApiCallback _callback) throws ApiExceptionBuild call for getAccountOutgoingTransactions- 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")transactionType- Transaction type to filter by. (optional)_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 - 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 transactionType) 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")transactionType- Transaction type to filter by. (optional)- 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 - 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 transactionType) 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")transactionType- Transaction type to filter by. (optional)- 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 - 409 InvalidArgument -
-
getAccountOutgoingTransactionsAsync
public okhttp3.Call getAccountOutgoingTransactionsAsync(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType, ApiCallback<java.util.List<TransactionInfoDTO>> _callback) throws ApiExceptionGet outgoing transactions (asynchronously) 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")transactionType- Transaction type to filter by. (optional)_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 - 409 InvalidArgument -
-
getAccountPartialTransactionsCall
public okhttp3.Call getAccountPartialTransactionsCall(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType, ApiCallback _callback) throws ApiExceptionBuild call for getAccountPartialTransactions- 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")transactionType- Transaction type to filter by. (optional)_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 - 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 transactionType) 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")transactionType- Transaction type to filter by. (optional)- 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 - 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 transactionType) 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")transactionType- Transaction type to filter by. (optional)- 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 - 409 InvalidArgument -
-
getAccountPartialTransactionsAsync
public okhttp3.Call getAccountPartialTransactionsAsync(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType, ApiCallback<java.util.List<TransactionInfoDTO>> _callback) throws ApiExceptionGet aggregate bonded transactions information (asynchronously) 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")transactionType- Transaction type to filter by. (optional)_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 - 409 InvalidArgument -
-
getAccountUnconfirmedTransactionsCall
public okhttp3.Call getAccountUnconfirmedTransactionsCall(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType, ApiCallback _callback) throws ApiExceptionBuild call for getAccountUnconfirmedTransactions- 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")transactionType- Transaction type to filter by. (optional)_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 - 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 transactionType) 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")transactionType- Transaction type to filter by. (optional)- 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 - 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 transactionType) 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")transactionType- Transaction type to filter by. (optional)- 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 - 409 InvalidArgument -
-
getAccountUnconfirmedTransactionsAsync
public okhttp3.Call getAccountUnconfirmedTransactionsAsync(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum transactionType, ApiCallback<java.util.List<TransactionInfoDTO>> _callback) throws ApiExceptionGet unconfirmed transactions (asynchronously) 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")transactionType- Transaction type to filter by. (optional)_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 - 409 InvalidArgument -
-
getAccountsInfoCall
public okhttp3.Call getAccountsInfoCall(AccountIds accountIds, ApiCallback _callback) throws ApiException
Build call for getAccountsInfo- Parameters:
accountIds- (optional)_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 -
-
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 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 -
-
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 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 -
-
getAccountsInfoAsync
public okhttp3.Call getAccountsInfoAsync(AccountIds accountIds, ApiCallback<java.util.List<AccountInfoDTO>> _callback) throws ApiException
Get accounts information (asynchronously) Returns the account information for an array of accounts.- Parameters:
accountIds- (optional)_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 -
-
-