Class AccountRoutesApi


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

    • Method Detail

      • getAccountConfirmedTransactions

        public void getAccountConfirmedTransactions​(java.lang.String accountId,
                                                    java.lang.Integer pageSize,
                                                    java.lang.String id,
                                                    java.lang.String ordering,
                                                    TransactionTypeEnum type,
                                                    io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<TransactionInfoDTO>>> resultHandler)
        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)
        resultHandler - Asynchronous result handler
      • rxGetAccountConfirmedTransactions

        public rx.Single<java.util.List<TransactionInfoDTO>> rxGetAccountConfirmedTransactions​(java.lang.String accountId,
                                                                                               java.lang.Integer pageSize,
                                                                                               java.lang.String id,
                                                                                               java.lang.String ordering,
                                                                                               TransactionTypeEnum type)
        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:
        Asynchronous result handler (RxJava Single)
      • getAccountIncomingTransactions

        public void getAccountIncomingTransactions​(java.lang.String accountId,
                                                   java.lang.Integer pageSize,
                                                   java.lang.String id,
                                                   java.lang.String ordering,
                                                   TransactionTypeEnum type,
                                                   io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<TransactionInfoDTO>>> resultHandler)
        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)
        resultHandler - Asynchronous result handler
      • rxGetAccountIncomingTransactions

        public rx.Single<java.util.List<TransactionInfoDTO>> rxGetAccountIncomingTransactions​(java.lang.String accountId,
                                                                                              java.lang.Integer pageSize,
                                                                                              java.lang.String id,
                                                                                              java.lang.String ordering,
                                                                                              TransactionTypeEnum type)
        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:
        Asynchronous result handler (RxJava Single)
      • getAccountInfo

        public void getAccountInfo​(java.lang.String accountId,
                                   io.vertx.core.Handler<io.vertx.core.AsyncResult<AccountInfoDTO>> resultHandler)
        Get account information Returns the account information.
        Parameters:
        accountId - Account public key or address. (required)
        resultHandler - Asynchronous result handler
      • rxGetAccountInfo

        public rx.Single<AccountInfoDTO> rxGetAccountInfo​(java.lang.String accountId)
        Get account information Returns the account information.
        Parameters:
        accountId - Account public key or address. (required)
        Returns:
        Asynchronous result handler (RxJava Single)
      • getAccountOutgoingTransactions

        public void getAccountOutgoingTransactions​(java.lang.String accountId,
                                                   java.lang.Integer pageSize,
                                                   java.lang.String id,
                                                   java.lang.String ordering,
                                                   TransactionTypeEnum type,
                                                   io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<TransactionInfoDTO>>> resultHandler)
        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)
        resultHandler - Asynchronous result handler
      • rxGetAccountOutgoingTransactions

        public rx.Single<java.util.List<TransactionInfoDTO>> rxGetAccountOutgoingTransactions​(java.lang.String accountId,
                                                                                              java.lang.Integer pageSize,
                                                                                              java.lang.String id,
                                                                                              java.lang.String ordering,
                                                                                              TransactionTypeEnum type)
        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:
        Asynchronous result handler (RxJava Single)
      • getAccountPartialTransactions

        public void getAccountPartialTransactions​(java.lang.String accountId,
                                                  java.lang.Integer pageSize,
                                                  java.lang.String id,
                                                  java.lang.String ordering,
                                                  TransactionTypeEnum type,
                                                  io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<TransactionInfoDTO>>> resultHandler)
        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)
        resultHandler - Asynchronous result handler
      • rxGetAccountPartialTransactions

        public rx.Single<java.util.List<TransactionInfoDTO>> rxGetAccountPartialTransactions​(java.lang.String accountId,
                                                                                             java.lang.Integer pageSize,
                                                                                             java.lang.String id,
                                                                                             java.lang.String ordering,
                                                                                             TransactionTypeEnum type)
        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:
        Asynchronous result handler (RxJava Single)
      • getAccountUnconfirmedTransactions

        public void getAccountUnconfirmedTransactions​(java.lang.String accountId,
                                                      java.lang.Integer pageSize,
                                                      java.lang.String id,
                                                      java.lang.String ordering,
                                                      TransactionTypeEnum type,
                                                      io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<TransactionInfoDTO>>> resultHandler)
        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)
        resultHandler - Asynchronous result handler
      • rxGetAccountUnconfirmedTransactions

        public rx.Single<java.util.List<TransactionInfoDTO>> rxGetAccountUnconfirmedTransactions​(java.lang.String accountId,
                                                                                                 java.lang.Integer pageSize,
                                                                                                 java.lang.String id,
                                                                                                 java.lang.String ordering,
                                                                                                 TransactionTypeEnum type)
        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:
        Asynchronous result handler (RxJava Single)
      • getAccountsInfo

        public void getAccountsInfo​(AccountIds accountIds,
                                    io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<AccountInfoDTO>>> resultHandler)
        Get accounts information Returns the account information for an array of accounts.
        Parameters:
        accountIds - (optional)
        resultHandler - Asynchronous result handler
      • rxGetAccountsInfo

        public rx.Single<java.util.List<AccountInfoDTO>> rxGetAccountsInfo​(AccountIds accountIds)
        Get accounts information Returns the account information for an array of accounts.
        Parameters:
        accountIds - (optional)
        Returns:
        Asynchronous result handler (RxJava Single)