isUserAccount method

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

Implementation

@override
Future<bool> isUserAccount(
    {required String network, required String address}) async {
  final provider = fuels.Provider(bridge: _bridge, nodeUrl: network);
  final addressModel = await fuels.Bech32Address.fromB256String(
    bridge: _bridge,
    s: address,
  );
  return provider.isUserAccount(address: addressModel);
}