Home

Broadcast a raw transaction using the request body.

POST
https://dogebook-testnet.nownodes.io/api/v2/sendtx

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Modified between 0.5.0 and 0.6.0: POST body size limited (PR #1434); alternative broadcast provider support server-side (PR #1264); per-client rate limiting (PRs #1563/#1590). Documented as it exists in 0.6.0.

Broadcasts hex-encoded raw transaction data from the request body. The trailing slash is mandatory in the Blockbook handler. POST bodies are limited to 8 MiB.

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 body): HTTP 400 {"error":"-22: TX decode failed"}. Success scenario not executed intentionally.

Body

text/plain
string

Response

200OK

HTTP 200 Dogecoin Blockbook response for sendTransactionByPost.

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).