Home

Get block filter

POST
wss://bsc-blockbook.nownodes.io/wss/{api_key}

Calls the getBlockFilter method over a WebSocket connection.

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":"11","method":"getBlockFilter","params":{"scriptType":"","blockHash":"c3dbd80e2bd3e8ef8cb7b218d36ae7a8b25162cd1b9967e3fb1c45992df34169"}}

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.