Home

Get datum value by hash

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns the full JSON representation of a Plutus datum identified by its Blake2b-256 hash. Datums are structured data values attached to transaction outputs and consumed by Plutus validator scripts. The datum hash is recorded on-chain inside the UTXO, while the actual datum content is supplied via the transaction witness set or embedded as an inline datum (CIP-32). The returned JSON follows the canonical Plutus JSON schema where data is expressed through constructors, fields, integers, byte strings, lists, and maps.

Parameters

datum_hashstringrequiredpath

Blake2b-256 hash of the datum to retrieve, encoded as a 64-character lowercase hexadecimal string.

Response

200OK

HTTP 200 response for getScriptDatum.

400Bad Request

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

401Unauthorized

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

404Not Found

No datum found for the given hash.

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.