Home

Get transaction

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

Calls the getTransaction method over a WebSocket connection.

Connection URL:

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

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

Example:

Copied!
wscat -c 'wss://btcbook.nownodes.io/wss/YOUR_API_KEY'
> {"id":"7","method":"getTransaction","params":{"txid":"e1e372f70f639a800e4b77c1b45d26f84daa4d82ef8243ebb6b0a31e2921ad2a"}}

Body

application/json
object

Parameters

api_keystringrequiredpath

Your NOWNodes API key.

Response

200OK

A successful response.