Home

Get CBOR datum for script

GET
https://ada-blockfrost.nownodes.io/scripts/datum/{script}/cbor

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns the hex-encoded CBOR representation of the datum associated with the given datum hash.

Parameters

scriptstringrequiredpath

Script hash identifier.

Response

200OK

HTTP 200 response for getScriptDatumCbor.

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.