"Take a chance! What's the worst that could happen?... oh, right ..."
This is an item you can only buy from the Death Dealer merchant. Along with The Time of Sands.
In the bottom left you can see which type of item the selected Trick or Treat is:
The resource, cost and the rarity is random.