Home

Subscribe address

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

Calls the subscribeAddresses method over a WebSocket connection.

Connection URL:

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

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

Example:

Copied!
wscat -c 'wss://dogebook.nownodes.io/wss/YOUR_API_KEY'
> {"id":"21","method":"subscribeAddresses","params":{"addresses":["DHPSooaZADQG4yGzX1FRUVQQUui5hoB9C9"]}}

Optional parameter newBlockTxs (boolean, default false): when true, the subscription also publishes confirmed transactions for the subscribed addresses as new blocks are connected. Without it only mempool transactions are delivered, so transactions that land straight in a block are never announced.

Body

application/json
object

Parameters

api_keystringrequiredpath

Your NOWNodes API key.

Response

200OK

A successful response.