get_locked_asset_balances

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

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

Return

pagination result, where the data is a list of tuples: list<(type, 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_balance

for a function that reports all values for a single asset

get_locked_asset_aggregated_balances

for a function that reports the sum of all these values, separated by asset