In a large mixing bowl, whisk together the flour, cornmeal, sugar, baking powder, salt, black pepper, and cayenne pepper (if using).
In another bowl, whisk together the milk, egg, and melted butter until well combined.
Gradually add the wet ingredients to the dry ingredients, mixing until just combined. Fold in the corn kernels and chopped jalapeños (if using).
In a deep fryer or deep skillet, heat the vegetable oil to 350°F (175°C). Line a baking sheet with parchment paper and set aside.
Using a spoon or small cookie scoop, carefully drop spoonfuls of the batter into the hot oil. Fry the nuggets in batches, making sure not to overcrowd the fryer or skillet. Cook until golden brown and crispy, about 2-3 minutes per side.
Using a slotted spoon or tongs, remove the nuggets from the oil and place them on paper towels to drain any excess oil. Transfer to the prepared baking sheet.
Serve the Texas Corn Nuggets warm with your favorite dipping sauces.