accountExist method

Future<bool> accountExist(
  1. String address
)

Implementation

Future<bool> accountExist(String address) async {
  try {
    await getAccount(address);
    return true;
  } catch (e) {
    dynamic err = e;
    if (err.response?.statusCode == 404) {
      return false;
    }
    rethrow;
  }
}