Subscribe address
POST
Calls the subscribeAddresses method over a WebSocket connection.
Connection URL:
Copied!
wss://avax-blockbook.nownodes.io/wss/{{api_key}}Open the connection, then send the message below as a text frame.
Example:
Copied!
wscat -c 'wss://avax-blockbook.nownodes.io/wss/YOUR_API_KEY'
> {"id":"21","method":"subscribeAddresses","params":{"addresses":["0x04E1163225A09172f25530f8C552F8A76808A308"]}}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_keystringrequiredpathYour NOWNodes API key.
Response
200OK
A successful response.