starknet-react icon indicating copy to clipboard operation
starknet-react copied to clipboard

Support for WebSocket RPCs

Open metalboyrick opened this issue 6 months ago • 3 comments

We would like to use this issue to request support for Starknet JSON RPC v0.8.0 WebSocket Channel in addition to existing HTTP RPCs, in particular adding it to the chain configurations so that we have a streamlined way of incorporating websocket RPCs.

It has been implemented on starknet.js.

  • https://starknetjs.com/docs/next/guides/websocket_channel
  • https://github.com/starkware-libs/starknet-specs/blob/v0.8.0/api/starknet_ws_api.json

We believe this would be useful for event listening and other real-time needs!

metalboyrick avatar Jun 24 '25 06:06 metalboyrick