Home

gettxoutproof

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns a hex-encoded proof that one or more transactions are included in a block. The proof can be validated with verifytxoutproof.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringgettxoutproofrequired
paramsArray<Array<string> | string>required

Parameters:

  1. txids (array[string], required) — Array of transaction IDs to prove inclusion.
  2. blockhash (string, optional) — Hash of the block to look for transactions. If omitted, searches the entire blockchain.
Show child attributes
One of
Array<string>
string

Response

200OK

Proof retrieved successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error