01 - Preheat the oven to 350°F. Line an 8-inch round or square baking pan with parchment paper, or grease lightly with cooking spray.
02 - Place the oats in a blender or food processor. Pulse until they reach a coarse, flour-like texture, about 30-60 seconds.
03 - In a mixing bowl, whisk together the oat flour, baking powder, baking soda, cinnamon, nutmeg, and salt until evenly blended.
04 - In a separate large bowl, whisk the eggs, maple syrup (or honey), melted coconut oil, and vanilla extract until smooth and well combined.
05 - Add the dry ingredients to the wet ingredients. Stir gently with a spatula until just combined—do not overmix.
06 - Gently fold in the grated carrots, raisins, and nuts (if using) until evenly distributed throughout the batter.
07 - Pour the batter into the prepared pan and spread evenly with a spatula, smoothing the top.
08 - Bake for 35-40 minutes, or until a toothpick inserted in the center comes out clean or with just a few moist crumbs.
09 - Allow the cake to cool completely in the pan before slicing and serving. This helps the texture set and makes slicing easier.