Does Graphql subscriptions work?

Expert

Does graphql subscriptions work ? Tried with some python graphql clients, didn't work. Also tried manually connecting using websocket didn't work. As no websocket url is provided i just replaced 'https' with 'wss' https://thegraph.com/hosted-service/subgraph/aave/protocol-v2?version=current

Answers 1

Yes graphql subscription work in Aave v2 but the query api point is https://api.thegraph.com/subgraphs/name/aave/protocol-v2 and should work by substituting https with wss. Links to all [subgraphs available](https://github.com/aave/protocol-subgraphs) and on the respective playground page you will find the query api point. More [info](https://aave.peeranha.io/feed).