FUNCTION
map_balance
function map_balance(balance: balance): (asset: (id: byte_array, name: text, symbol: text, decimals: integer, blockchain_rid: byte_array, icon_url: text, type: text, supply: big_integer), account: (rowid: rowid, id: byte_array, type: text), amount: big_integer)Maps an balance info into a readable format for the frontend.
Parameters
- balance — the balance to retrieve
© 2024 Chromia