getChainId method

Future<BigInt> getChainId()

Implementation

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