Home

getrawtransaction

POST
https://dash.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Retrieves a raw transaction by its txid. If verbose is false or omitted, the result is a raw hex string. If verbose is true, returns a JSON object with decoded transaction details.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringgetrawtransactionrequired
paramsArray<string | boolean>required

Parameters:

  1. txid (string, required) — The transaction ID.
  2. verbose (boolean, optional) — If true, return JSON; if false, return hex. Default: false.
Show child attributes
One of
string
boolean

Response

200OK

Transaction retrieved successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error