isUserAccount static method

Future<bool> isUserAccount({
  1. required String network,
  2. required String address,
})

Implementation

static Future<bool> isUserAccount(
    {required String network, required String address}) {
  try {
    final fuelAddress = FuelAddress.fromString(address);
    return _utils.isUserAccount(
        network: network, address: fuelAddress.b256Address);
  } catch (e) {
    return Future.value(false);
  }
}