Cleaning earrings

So, I just got a ton of new earrings (they are metal) and in currently washing them. Is it okay to just leave them to soak in hydrogen peroxide for a minute or two? That's what I've done to all of them. I just want to make sure they're clean. thanks!