Get block
POST
Calls the getBlock method over a WebSocket connection.
Connection URL:
Copied!
wss://btc.nownodes.io/wss/{{api_key}}Open the connection, then send the message below as a text frame.
Example:
Copied!
wscat -c 'wss://btc.nownodes.io/wss/YOUR_API_KEY'
> {"id":"25","method":"getBlock","params":{"id":"900000","page":1}}Not supported on this endpoint. This method requires the extended index, which is not enabled on this endpoint.
Body
application/json
object
Parameters
api_keystringrequiredpathYour NOWNodes API key.
Response
200OK
A successful response.