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":"9","method":"getTransaction","params":{"txid":"622ed4e93b25fdb699115ed5a698f410ddeddd7aa7d5e835762905425d2a6de3"}}

Body

application/json
object

Parameters

api_keystringrequiredpath

Your NOWNodes API key.

Response

200OK

A successful response.