Assume there exists $p>2$ such that $B\in L^p_{\rm loc}(\mathbb{R}^2)$. Assume in addition that there exists $\tau >2$ such that \begin{equation} \label{B-decay-cond} |B(x)| \, = \, O(|x|^{-\tau}) \qquad as \quad|x| \to \infty. \end{equation} We now define \begin{equation} \label{h-eq} h(x) =- \frac{1}{2\pi} \int_{\mathbb{R}^2} B(y) \log |x-y|\, dy, \end{equation} so that the vector field given by \begin{equation} \label{A-h-def} A_h = (\partial_{x_2} h, - \partial_{x_1} h) \end{equation} satisfies $\nabla\times A_h = B$. Thanks to Assumption above we have \begin{equation} \label{A-L-infty} |A_h| \in L^\infty(\mathbb{R}^2). \end{equation} where $\alpha$ is defined as \begin{equation} \alpha= \frac{1}{2\pi} \int _{\mathbb{R}^2}B\, dx \end{equation} Notice that \begin{equation} \label{exp-h-asymp} e^{h(x)} = |x|^{-\alpha}\big(1+ O(|x|^{-1})\big) , \qquad as \quad |x|\to \infty. \end{equation} I'm struggling to show the above identity, for convenience I'll call it Integral Identity (II). I thought I could proceed in this way: $$ \exp\left\{- \frac{1}{2\pi} \int_{\mathbb{R}^2} B(y) \log |x-y|\, dy\right\} $$ where $$ - \frac{1}{2\pi} \int_{\mathbb{R}^2} B(y) \log |x-y|\, dy=- \frac{1}{2\pi} \int_{K} B(y) \log |x-y|\, dy- \frac{1}{2\pi} \int_{\mathbb{R}^2\setminus K} B(y) \log |x-y|\, dy $$ Let's call $$ I_1=\frac{1}{2\pi} \int_{K} B(y) \log |x-y|\, dy; \quad I_2=\frac{1}{2\pi} \int_{\mathbb{R}^2\setminus K} B(y) \log |x-y|\, dy $$ Either $I_1$, or $I_2$ are convergent because of the assumption. Then because of the second part of the assumption one gets
$$ I_2=\frac{1}{2\pi} \int_{\mathbb{R}^2\setminus K} B(y) \log |x-y|\, dy, \quad \text{where}\quad B(y)\log|x-y|)=O(|y|^{-\tau})\log|x-y| \quad \text{as} \quad |x|\to\infty $$ Then, I'm stuck...