Home

Broadcast a raw transaction using the path.

GET
https://kmdbook.nownodes.io/api/v2/sendtx/{hex}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Modified in 0.6.0: the broadcast payload size is limited, an alternative broadcast provider can be configured server-side, and requests are rate-limited per client. Write operation: the success scenario is not executed intentionally; the invalid-hex validation error is live-verified ("-22: TX decode failed"). Documented as it exists in 0.6.0.

Broadcasts hex-encoded raw transaction data. Prefer POST for large payloads.

Load estimate: High; validates and forwards to the backend, with cost growing with transaction size and backend mempool policy checks.

live-verified behavior:

  • Write operation. Live-validated scenario (invalid hex): HTTP 400 {"error":"-22: TX decode failed"}. Success scenario not executed intentionally.

Parameters

hexstringrequiredpath

Raw transaction.

Response

200OK

HTTP 200 Komodo Blockbook response for sendTransactionByGet.

400Bad Request

Domain or validation error. live-verified: JSON body {"error": "..."} (unknown block/transaction, invalid address, malformed broadcast hex, missing filter parameters).

401Unauthorized

Unauthorized: missing or invalid api-key header. The NOWNodes gateway returns the plain-text body "Unknown API_key".

405Method Not Allowed

Method Not Allowed: gateway-level response for unknown routes (and for the v1 GET broadcast route on this instance).

500Internal Server Error

Internal Server Error. live-verified on the deployed instance: JSON body {"error":"Internal server error"} (observed on /api/rawtx and invalid XPUB lookups).