getChainId static method

Future<int> getChainId()

Implementation

static Future<int> getChainId() async {
  final chainInfo = await getChainInfo();
  return chainInfo.id;
}