Preheat the oven to 350F. Grease two 8-inch round cake pans with butter and dust with cocoa powder or gluten-free flour. Set aside. In a large bowl, add the gluten-free flour blend, xanthan gum, cocoa powder, baking powder, baking soda, salt and granulated sugar.
Whisk until all ingredients are combined and mixture is medium-brown in color.
Add vegetable oil, vanilla extract, eggs and buttermilk to the dry mixture and mix with an electric mixer for 1-2 minutes. Scrape the sides and the bottom of the bowl to ensure all of the dry mixture is incorporated.
Pour in the hot coffee and mix for an additional 1-2 minutes. The batter will be very thin. Let sit for 2-3 minutes to allow the batter to slightly thicken.
Divide the batter between the two prepared cake pans. I like to use a food scale to ensure that my layers have approximately the same amount of batter.
Bake at 350F for 30 to 35 minutes or until a wooden pick inserted in the center of the cake comes out clean. Let cool completely before topping with buttercream.