clientVersion method
/ Client version
Implementation
Future<String?> clientVersion() async {
const method = EthereumRpcMethods.web3ClientVersion;
final dynamic res = await _client.rpcClient.request(method);
if (res != null && res.containsKey(EthereumConstants.ethResultKey)) {
return res[EthereumConstants.ethResultKey];
}
_client.processError(method, res);
return null;
}