getChainId method

Future<BigInt> getChainId()

Implementation

Future<BigInt> getChainId() {
  return _makeRPCCall<String>('eth_chainId').then(BigInt.parse);
}