public class AccountRepositoryOkHttpImpl extends AbstractRepositoryOkHttpImpl implements AccountRepository
Constructor and Description |
---|
AccountRepositoryOkHttpImpl(io.nem.symbol.sdk.openapi.okhttp_gson.invoker.ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
io.reactivex.Observable<AccountInfo> |
getAccountInfo(Address address)
Gets an AccountInfo for an account.
|
io.reactivex.Observable<MerkleStateInfo> |
getAccountInfoMerkle(Address address)
Returns the merkle information of the given account.
|
io.reactivex.Observable<java.util.List<AccountInfo>> |
getAccountsInfo(java.util.List<Address> addresses)
Gets AccountsInfo for different accounts based on their addresses.
|
io.reactivex.Observable<Page<AccountInfo>> |
search(AccountSearchCriteria criteria)
It searches entities of a type based on a criteria.
|
call, call, callList, exceptionHandling, exceptionHandling, extractStatusCodeFromException, getJsonHelper, onError, toDto, toDto, toDto, toDto, toDto, toMerkleStateInfo, toPage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
streamer
public AccountRepositoryOkHttpImpl(io.nem.symbol.sdk.openapi.okhttp_gson.invoker.ApiClient apiClient)
public io.reactivex.Observable<AccountInfo> getAccountInfo(Address address)
AccountRepository
getAccountInfo
in interface AccountRepository
address
- AddressAccountInfo
public io.reactivex.Observable<MerkleStateInfo> getAccountInfoMerkle(Address address)
AccountRepository
getAccountInfoMerkle
in interface AccountRepository
address
- AddressMerkleStateInfo
public io.reactivex.Observable<java.util.List<AccountInfo>> getAccountsInfo(java.util.List<Address> addresses)
AccountRepository
getAccountsInfo
in interface AccountRepository
addresses
- List
of Address
List
of AccountInfo
public io.reactivex.Observable<Page<AccountInfo>> search(AccountSearchCriteria criteria)
Searcher
search
in interface Searcher<AccountInfo,AccountSearchCriteria>
criteria
- the criteria