API:GetMacroIconInfo

local texture = GetMacroIconInfo(iconIndex)

iconIndex refers to the list of icons in the Icon Select frame