Home

Get raw transaction hex (Ethereum-type networks only).

GET
https://flux-blockbook.nownodes.io/api/rawtx/{txid}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Unversioned public endpoint exposed by Blockbook for raw transaction data.

Available on Ethereum-type networks only. It is not supported on Flux, where requests to this endpoint return an error.

To get the raw transaction hex on Flux, use /api/v2/tx-specific/{txid} and read its hex field, or call the getrawtransaction JSON-RPC method.

Load estimate: Medium; payload size grows with raw transaction size.

Parameters

txidstringrequiredpath

Transaction id/hash.

Response

200OK

Raw transaction hex as a JSON string. Not returned on Flux; see the endpoint description.

400Bad Request

Bad Request

401Unauthorized

Unauthorized. Returned when the api-key header is missing, empty, or not accepted by the NOWNodes gateway. The body is plain text.

405Method Not Allowed

Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.

422Unprocessable Entity

Unprocessable Entity. Returned by the NOWNodes gateway for requests it accepts but cannot process. The body is plain text.

500Internal Server Error

Internal Server Error

503Service Unavailable

Service Unavailable

default

Public API error.