Home

gettxout

POST
https://btc-testnet4.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns details about an unspent transaction output (UTXO) specified by transaction ID and output index.

Body

application/json

Returns details about an unspent transaction output (UTXO) specified by transaction ID and output index.

Request payload containing the documented method parameters and client request identifier.

jsonrpcstringrequired

JSON-RPC protocol version.

idstringrequired

Client-provided request identifier echoed in the response.

methodstringgettxoutrequired

JSON-RPC method name.

paramsArray<string | integer | boolean>required

Parameters:

  1. txid (string, required) — The transaction ID.
  2. vout (integer, required) — The output index.
  3. include_mempool (boolean, optional, default: true) — Whether to include mempool transactions.
Show child attributes

Single entry in the params array.

One of

JSON-RPC method parameters.

string

JSON-RPC method parameters.

integer

JSON-RPC method parameters.

boolean

Response

200OK

UTXO details retrieved successfully

401Unauthorized

Unauthorized: API key is present but rejected by the NOWNodes gateway.

405Method Not Allowed

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

422Unprocessable Entity

Missing API key. The NOWNodes gateway returns plain text for this error.

500Internal Server Error

Internal Server Error