right now, I am trying to write a service using web3 which will 'subscribe' to all 'perndingtransactions' on blockchain to perform further actions. web3 documentation says that 'Httpprovider' cant be used for subscription, instead 'Websocketprovider' should be used. Does anybody know how to enable websocket in Azure node?

1 Answer 1


If you are using azure POA consortium you have already a websocket endpoint.

The url is available under deploiment outputs as shown in the picture below ::

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.