Preheat the oven to 350°F (175°C). Grease and flour a 9×5-inch loaf pan or line it with parchment paper.
Whisk together the melted butter, granulated sugar, and brown sugar in a large bowl.
Add the eggs and vanilla, then whisk in the buttermilk until smooth.
In a separate bowl, whisk together the flour, baking powder, baking soda, and salt.
Add the dry ingredients to the wet ingredients and stir just until combined. Fold in the chopped pecans.
Transfer the batter to the prepared pan and bake until golden and a toothpick inserted in the center comes out clean, beginning to check around 45 minutes.
Let the loaf cool briefly in the pan, then transfer it to a rack to cool before slicing.