Logo
Core Blockchain's Public API Documentation

stopWS

POST {{ENVIRONMENT}}

The stopWS administrative method closes the currently open WebSocket RPC endpoint. As the node can only have a single WebSocket endpoint running, this method takes no parameters, returning a boolean whether the endpoint was closed or not.

Parameters

none

Returns

BOOLEAN - The success of the request true or false.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status





Curl
curl -X POST 'ENVIRONMENT' -d '{"jsonrpc":"2.0","method":"admin_stopWS","id":1}'

ENDPOINTS