ESODecoded

GetCurrencyName

ESO Lua API function — used by 28 of the 3,030 addons we indexed (combined 11,719,042 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetCurrencyName([CurrencyType|#CurrencyType] currencyType, bool isSingular, bool isLower)

Returns: string name

Real usage — from Dolgubon's Lazy Writ Crafter

	            sceneName = "TimedActivitiesGamepad",
	            tooltipDescription = zo_strformat(SI_GAMEPAD_ACTIVITY_FINDER_TOOLTIP_TIMED_ACTIVITIES, GetCurrencyName(primaryCurrencyType), GetString(SI_GAMEPAD_MAIN_MENU_ENDEAVOR_SEAL_MARKET

Short excerpt from the shipping addon Dolgubon's Lazy Writ Crafterits ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.

Most-downloaded addons using it

AddonTotal downloads
Dolgubon's Lazy Writ Crafter9,498,314
LibLootSummary576,385
PersonalAssistant (Banking, Consume, Junk, Loot, Repair, Worker) [Masteroshi430's branch]487,232
CyrHUD325,521
Bar Steward - Multi Toolbar204,140
Lykeion's AutoLoot+177,775