Home

Get block filter

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

Calls the getBlockFilter method over a WebSocket connection.

Connection URL:

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

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

Example:

Copied!
wscat -c 'wss://dash.nownodes.io/wss/YOUR_API_KEY'
> {"id":"11","method":"getBlockFilter","params":{"scriptType":"","blockHash":"0000000000000002f4e4070599fbc5dd6d0ed985f5e40a76526f977d7455f3c6"}}

Compact block filters are not built on this endpoint, so blockFilter comes back empty and P is 0. Send scriptType empty, as no script type is configured.

Body

application/json
object

Parameters

api_keystringrequiredpath

Your NOWNodes API key.

Response

200OK

A successful response.