Learn how to connect to the GoldRush Streaming API to receive real-time blockchain events over WebSocket.
graphql-ws
.
graphql-ws
package, you must set the WebSocket protocol header:"Sec-WebSocket-Protocol" : "graphql-transport-ws"
This header is required for the server to properly recognize and handle your GraphQL subscription requests.