getAccountInfo method

Future<AccountInfo?> getAccountInfo(
  1. GetAccountInfoOptions options
)

Implementation

Future<AccountInfo?> getAccountInfo(GetAccountInfoOptions options) async {
  Commitment commitment = _getCommitment(options.commitment);

  return accountApi.getAccountInfo(
    sdkConfig.environment,
    sdkConfig.index,
    options.account,
    commitment,
  );
}