Home

Get UTXOs holding the script as reference script

GET
https://ada-blockfrost.nownodes.io/scripts/{script_hash}/utxos

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Added in 6.7.0: paged list of unspent outputs that carry the script as a reference script (CIP-33), usable as reference inputs (CIP-31) - the endpoint resolves a script hash directly to its deployment UTXOs without enumerating addresses. Each entry contains the carrying transaction, output index, value breakdown, and optional datum information.

Parameters

script_hashstringrequiredpath

Script hash identifier.

pageinteger<int64>query

Page number for pagination. Defaults to 1.

countinteger<int64><= 100100query

Maximum number of results per page. Defaults to 100; cannot exceed 100.

orderstringascdescascquery

Sort order of the results.

Response

200OK

HTTP 200 response for getScriptUtxos.

400Bad Request

Bad Request. The request is malformed or contains invalid parameters.

401Unauthorized

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

422Unprocessable Entity

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

500Internal Server Error

Internal Server Error. The gateway or backend failed while processing the request.