Subscribe address
POST
Subscribes to balance and transaction updates for the listed addresses. newBlockTxs=true also pushes transactions touching the addresses while they are in the mempool. Notifications arrive with the id of this request and contain the updated address state.
Connection URL:
Copied!
wss://bsc-blockbook.nownodes.io/wss/{{api_key}}Open the connection, then send the message below as a text frame.
Example:
Copied!
wscat -c 'wss://bsc-blockbook.nownodes.io/wss/YOUR_API_KEY'
> {"id":"18","method":"subscribeAddresses","params":{"addresses":["0xba98d6a5ac827632e3457de7512d211e4ff7e8bd"],"newBlockTxs":true}}Body
application/json
object
Parameters
api_keystringrequiredpathYour NOWNodes API key.
Response
200OK
A successful response.