From ESOUI Wiki
This function returns true if the player can initiate an item trade — that is, an exchange of items and gold between two players — with the specified unit.
- A string representing a unit tag.
if CanUnitTrade("reticleover") then d("You're aiming at a player that you can trade with.") end