Terraria item ID 2222. Terraria 1.4.5.7.
The Peddler's Hat is a vanity item that always drops from the Traveling Merchant if he is killed. It appears identical to the hat that the Traveling Merchant wears. (Desktop, Console and Mobile versions) When dropped into Shimmer, it turns into a Peddler's Satchel.
Description from the Terraria Wiki.