The hammers will break the next projectile / obstacle, essentially meaning you get to take a free hit without losing a life or get slown down.
The sandals will give you an extra life and speed you up temporarily