in service/src/main/java/org/apache/fineract/cn/stellarbridge/service/internal/horizonadapter/HorizonServerUtilities.java [126:138]
public BigDecimal getBalanceByIssuer(
final StellarAccountId stellarAccountId,
final String assetCode,
final StellarAccountId accountIdOfIssuingStellarAddress)
throws InvalidConfigurationException
{
logger.info("HorizonServerUtilities.getBalanceByIssuer");
final Asset asset = StellarAccountHelpers.getAsset(assetCode, accountIdOfIssuingStellarAddress);
return getAccount(KeyPair.fromAccountId(stellarAccountId.getPublicKey()))
.getBalanceOfAsset(asset);
}