Home

Get transaction

POST
wss://bsc-blockbook.nownodes.io/wss/{api_key}

Returns a normalized transaction by hash. For an unknown hash the socket replies with data.error (message "Transaction ... not found").

Connection URL:

Copied!
wss://bsc-blockbook.nownodes.io/wss/{{api_key}}

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

Example:

Copied!
wscat -c 'wss://bsc-blockbook.nownodes.io/wss/YOUR_API_KEY'
> {"id":"9","method":"getTransaction","params":{"txid":"0xbbce39214e80e3b5e80c34dbd20247e725f28171118b5e67ae88e284752bef15"}}

Body

application/json
object

Parameters

api_keystringrequiredpath

Your NOWNodes API key.

Response

200OK

A successful response.