Home

Block by hash

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

Calls the block_by_hash method over a WebSocket connection.

Connection URL:

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

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

Example:

Copied!
wscat -c 'wss://tia.nownodes.io/wss/YOUR_API_KEY'
> {"jsonrpc":"2.0","method":"block_by_hash","id":0,"params":{"hash":"7B6149878AFF24215F36D403BE3B7AD517CC95411B9346626BB71215B537C04F"}}

Body

application/json
object

Parameters

api_keystringrequiredpath

Your NOWNodes API key.

Response

200OK

A successful response.