Home

Get script CBOR representation

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns the hex-encoded CBOR serialisation of the script.

Parameters

scriptstringrequiredpath

Script hash identifier.

Response

200OK

HTTP 200 response for getScriptCbor.

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.