getNodeCryptoConfig method
Implementation
Future<NodeCryptoConfigResponse> getNodeCryptoConfig() async {
final resp = await _layer1ApiGet('/node/configuration/crypto');
if (resp.statusCode == HttpStatus.ok) {
final body = json.decode(resp.body);
return NodeCryptoConfigResponse.fromJson(body['data']);
}
return Future.error(HttpResponseError(resp.statusCode, resp.body));
}