isProgrammaticNetworkSwitchAvailable method

  1. @override
bool isProgrammaticNetworkSwitchAvailable(
  1. String chain
)
override

Whether the provider supports network add and switch operations.

Implementation

@override
bool isProgrammaticNetworkSwitchAvailable(String chain) {
  bool instrumentationOperation() {
    return chain == "EVM";
  }
  return _api.instrumentation.run("externalWallet.isProgrammaticNetworkSwitchAvailable", instrumentationOperation);
}