Interface UserService

All Known Implementing Classes:
UserServiceXChangeImplementation

public interface UserService
Service getting information about user, accounts and balances.
  • Method Details

    • getUser

      Optional<UserDTO> getUser()
      Retrieve user information from exchange (user, accounts and balances).
      Returns:
      user from exchange
    • getAccounts

      Map<String,AccountDTO> getAccounts()
      Retrieve user accounts information from exchange (accounts and balances).
      Returns:
      accounts
    • getAccountsFromCache

      Map<String,AccountDTO> getAccountsFromCache()
      Retrieve user accounts information from cache - used by GraphQL API.
      Returns:
      accounts