map_balance
function map_balance(balance: balance): ((id: byte_array, name: text, symbol: text, decimals: integer, blockchain_rid: byte_array, icon_url: text, type: text, supply: big_integer), (rowid: rowid, id: byte_array, type: text), amount: big_integer)(source)
Maps an balance info into a readable format for the frontend.
Parameters
balance
the balance to retrieve