getAccountByIdOrLogin abstract method

Future<AccountV1?> getAccountByIdOrLogin(
  1. String? correlationId,
  2. String idOrLogin
)

Gets an account by its unique id or login.

  • correlationId (optional) transaction id to trace execution through call chain.
  • idOrLogin an unique id or login of account to be retrieved. Return Future that receives account or error.

Implementation

Future<AccountV1?> getAccountByIdOrLogin(
    String? correlationId, String idOrLogin);