get_asset_balance

@mount("ft4.get_asset_balance") query get_asset_balance(account_id: byte_array, asset_id: byte_array): ((id: byte_array, name: text, symbol: text, decimals: integer, blockchain_rid: byte_array, icon_url: text, type: text, supply: big_integer), amount: big_integer)?(source)

Returns how much of an asset the account holds. This query returns null if the account does not have the asset.

Parameters

account_id

the id of the account to query the balance for

asset_id

the id of the asset held by the account