FUNCTION

map_asset_origin

function map_asset_origin(asset_origin: asset_origin): (asset: (id: byte_array, name: text, symbol: text, decimals: integer, blockchain_rid: byte_array, icon_url: text, type: text, supply: big_integer), origin_blockchain_rid: byte_array)

Maps an asset_origin into a readable format for the frontend.

Parameters

  • asset_origin — the asset_origin to retrieve
© 2024 Chromia