Link a currency like I would a spell

Hello frens is there a way to link a currency using a currency id like i would link a spell id
using C_Spell.GetSpellLink ?

this is what i use to print spells

local spell = "|T"..C_Spell.GetSpellTexture(372608)..":0|t" .. C_Spell.GetSpellLink(372608)

is there an equivalent for currencies?

thank you :smiling_face_with_three_hearts:

C_CurrencyInfo.GetCurrencyLink(currencyID) gets a link for the currency.

/run print(format("\124T%d:0\124t %s", C_CurrencyInfo.GetCurrencyInfo(1166).iconFileID, C_CurrencyInfo.GetCurrencyLink(1166)))
2 Likes

Goatllo is your new name