Whisk flour, baking soda, baking powder, dill, salt, and onion powder in a medium-sized bowl.
Beat butter and sugar in a large bowl until light and fluffy.
Beat in eggs and sour cream until blended.
Alternately fold in flour mixture and pickle juice, beginning and ending with the flour.
Fold in the chopped pickles.
Fill cupcake liners 3/4 full.
Bake at 350 F for about 25 minutes or until a toothpick comes out of the cupcake clean.
The Ice CreamI topped the cupcake with vanilla ice cream. Can anyone think of a flavor that would go better with pickle? The topic had never come up for me before and I figured vanilla would be a safe bet.