You might be thinking of mole cricket eggs. Those look like small, white, oval-shaped capsules, about the size of a pinhead. They are typically laid in clusters in the soil, often near the surface.
If you're concerned about your lawn, it's best to consult with a local pest control professional or a gardening expert. They can identify the specific pest causing the issue and recommend the best course of action.