getNodeInfo method
Implementation
Future<NodeInfoCommonJSON> getNodeInfo() async {
var rootPath =
"${TerraClientConfiguration.blockchainResourcePath}${CosmosBaseConstants.COSMOS_TENDERMINT_NODE_INFO}";
var response = await apiRequester.getAsync<NodeInfoCommonJSON>(rootPath);
if (response.successful!) {
var result = NodeInfoCommonJSON.fromJson(response.result!);
return result;
}
throw Exception("");
}