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.

Request Body

{"jsonrpc"=>"2.0", "method"=>"admin_stopWS", "id"=>1}