viders/other/#WebSocketProvider">WebSocketProvider</a> to add listeners for Alchemy events:</p>
<pre><code class="language-ts"><span class="hl-2">import</span><span class="hl-1"> { </span><span class="hl-0">Alchemy</span><span class="hl-1">, </span><span class="hl-0">AlchemySubscription</span><span class="hl-1"> } </span><span class="hl-2">from</span><span class="hl-1"> </span><span class="hl-3">&#39;alchemy-sdk&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-5">const</span><span class="hl-1