Get block hash
POST
Calls the getBlockHash method over a WebSocket connection.
Connection URL:
Copied!
wss://doge.nownodes.io/wss/{{api_key}}Open the connection, then send the message below as a text frame.
Example:
Copied!
wscat -c 'wss://doge.nownodes.io/wss/YOUR_API_KEY'
> {"id":"3","method":"getBlockHash","params":{"height":6321665}}Body
application/json
object
Parameters
api_keystringrequiredpathYour NOWNodes API key.
Response
200OK
A successful response.