shhVersion method
SHH version Returns the current whisper protocol version.
Implementation
Future<String?> shhVersion() async {
final params = <String>[];
const method = EthereumRpcMethods.shhVersion;
final dynamic res = await _client.rpcClient.request(method, params);
if (res != null && res.containsKey(EthereumConstants.ethResultKey)) {
return res[EthereumConstants.ethResultKey];
}
_client.processError(method, res);
return null;
}