# \[Archive\] Websocket provider support

**URL:** <https://builder.metamask.io/t/archive-websocket-provider-support/1652>\
**Category:** Embedded Wallets (Web3Auth)\
**Created:** [January 9, 2024, 11:13am UTC](https://builder.metamask.io/t/archive-websocket-provider-support/1652 "2024-01-09T11:13:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![omryo](https://avatars.discourse-cdn.com/v4/letter/o/e274bd/32.png) [@omryo](https://builder.metamask.io/u/omryo)\
**Post date:** [January 9, 2024, 11:13am UTC](https://builder.metamask.io/t/archive-websocket-provider-support/1652/1 "2024-01-09T11:13:37Z")

</div>

> **🏛 Archived Content from Web3Auth Community**
> 
> This topic was originally posted by **omryo** on 1/9/2024.  
> This content has been migrated from our previous community forum to preserve valuable discussions.

* * *

i see that in the chain configuration the rpcTarget is mandatory but the wsTarget is optional.  
I tried to understand when are you using the websocket target, from what i could see it is not in real use.  
how can i configure the provider to use websocket, at least for subscription to events (using rpc provider to event subscription causes many requests to be invoked.

---

<div class="post-metadata">

**Author:** ![vjgee](https://avatars.discourse-cdn.com/v4/letter/v/b5e925/32.png) [@vjgee](https://builder.metamask.io/u/vjgee)\
**Post date:** [January 9, 2024, 12:57pm UTC](https://builder.metamask.io/t/archive-websocket-provider-support/1652/2 "2024-01-09T12:57:02Z")

</div>

@omryo Thanks for your recent post.

Your request has been forwarded to our team and we will get back to you with further updates.
