getChainId method

Future<int> getChainId()

Gets the chain ID.

Implementation

Future<int> getChainId() async {
  return provider.getChainId();
}