Can't tell you exactly what this was off of but many wagons had nuts like this on the end of cross rods that held the drop-in tail board in tight. Could have been used for anchor points to lash freight onto wagons or possibly on cannons or ammo wagons.
Heel nut, used for attaching chains. Chain link is placed in the hook which is then hammered closed.