toPortfolioEntry
@totemsdk/realtime / toPortfolioEntry
Function: toPortfolioEntry()
toPortfolioEntry(
raw,address):PortfolioEntry
Normalise a raw balance / coin entry to a PortfolioEntry.
Parameters
raw
Raw entry from any backend
address
string
The address this entry belongs to (required for the field)