Interface UserService
- All Known Implementing Classes:
UserServiceXChangeImplementation
public interface UserService
Service getting information about user, accounts and balances.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve user accounts information from exchange (accounts and balances).Retrieve user accounts information from cache - used by GraphQL API.getUser()
Retrieve user information from exchange (user, accounts and balances).
-
Method Details
-
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
-