Functions Documentation
View Function Edit Function
Name itmGetDefaultCurrency
Syntax (itmGetDefaultCurrency item) -> currency
Argument List item: itemStruct of the item you want to get the default currency of
Returns currency: unid of the items default currency
Category economy, item, 1.06
Description used to get the default currency of an item
(setq itm (itmCreate &itLaserCannon; 1))
(itmGetDefaultCurrency itm)

The above use of the function returns 4119, which in hexadecimal is 1017, which in turn is the UNID of the credit economy.