get_locked_asset_aggregated_balances

function get_locked_asset_aggregated_balances(account: account, types: list<text>?, page_size: integer?, page_cursor: text?): list<pagination_result>(source)

Similar to get_locked_asset_aggregated_balance, except that it allows retrieving the info for all locked assets.

Return

pagination result, where the data is a list of tuples: list<(asset, amount)>

Parameters

account

from which the assets were locked

types

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

page_size

the size of the pages to retrieve

page_cursor

a pointer to where the page should start

See also

utils.paged_result

for information about pagination

ACCOUNT_TYPE_LOCK

for more information on lock accounts

get_locked_asset_balances

for a function that reports all values separated by lock type

get_locked_asset_aggregated_balance

for a function that reports the summed values for a single asset