protocolVersion method
Implementation
Future<Map<String, dynamic>> protocolVersion([bool all = false]) async {
try {
return await client
.get(api('network/version', {'key': all ? 'all' : 'current'}));
} on ExplorerException catch (e) {
throw ExplorerException(
code: e.code, message: '{"protocolVersion": "${e.message}"}');
}
}