getAccountById abstract method

Future<AccountV1?> getAccountById(
  1. String? correlationId,
  2. String id
)

Gets an account by its unique id.

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

Implementation

Future<AccountV1?> getAccountById(String? correlationId, String id);