Home

Dial peers

POST
wss://tia.nownodes.io/wss/{api_key}

Calls the dial_peers method over a WebSocket connection.

Connection URL:

Copied!
wss://tia.nownodes.io/wss/{{api_key}}

Open the connection, then send the message below as a text frame.

Example:

Copied!
wscat -c 'wss://tia.nownodes.io/wss/YOUR_API_KEY'
> { "jsonrpc" : "2.0" , "method" : "dial_peers" , "id" : 0 , "params": { "persistent": true, "unconditional": true, "private": true, "peers": * } } ```

Body

application/json
object

Parameters

api_keystringrequiredpath

Your NOWNodes API key.

Response

200OK

A successful response.