getActiveNetworkData abstract method

Future<NetworkConfiguration?> getActiveNetworkData(
  1. String chain,
  2. String accountAddress
)

The full configuration of whichever network the connected external wallet is currently on, for chain/accountAddress — null when that network isn't in getNetworksData's dashboard list or (for EVM) getEvmHostNetworks' host-registered one. Checks the dashboard list first, then the EVM host list, so a host-added network the user's wallet happens to be on is still found. One provider round trip (getActiveNetworkId); everything else is a local lookup.

Implementation

Future<NetworkConfiguration?> getActiveNetworkData(String chain, String accountAddress);