Fetches the locked balances of a certain asset on a certain account and aggregates them all to a total amount.
client to use to query the blockchain
the id of the account to fetch balances for
the id of the asset for which to fetch balances
optionally limit the balances to a specific type
Throws an error if the specified asset does not exist
Fetches the locked balances of a certain asset on a certain account and aggregates them all to a total amount.