getStakingPool method
Implementation
Future<StakingPoolJSON> getStakingPool() async {
String rootPath =
"${TerraClientConfiguration.blockchainResourcePath}${CosmosBaseConstants.COSMOS_STAKING_POOL}";
var response = await apiRequester.getAsync<StakingCommonJson>(rootPath);
if (response.successful!) {
var result = StakingCommonJson.fromJson(response.result!);
return result.pool;
}
throw Exception("");
}