getrawtransaction
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-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
jsonrpcstringrequiredidstringrequiredmethodstringgetrawtransactionrequiredparamsArray<string | boolean>requiredParameters:
txid(string, required) — The transaction ID.verbose(boolean, optional) — If true, return JSON; if false, return hex. Default: false.
Response
200OK
Transaction retrieved successfully
401Unauthorized
Unauthorized
500Internal Server Error
Internal Server Error