get_locked_asset_aggregated_balance

Retrieves the total locked sum of the specified asset over various lock types, given the account that locked them. The returned value adds up the values that were locked, regardless of the lock type, for a single asset.

Return

the sum of the locked asset across the specified lock account types

Parameters

account

the account that locked their assets

asset

the asset that was locked

types

optional list to specify what lock account types to include balances for. If not specified, balances will be included for all lock account types.

See also

ACCOUNT_TYPE_LOCK

for more information on lock accounts

get_locked_asset_balance

for a function that reports all values separated by lock type

get_locked_asset_aggregated_balances

for a function that reports this value for all assets.