Cardano » Scripts

Datum value

Query JSON value of a datum by its hash

get/scripts/datum/{datum_hash}

Request

  • Base URL
    https://cardano-mainnet.blockfrost.io/api/v0
  • URL
    https://cardano-mainnet.blockfrost.io/api/v0/scripts/datum/{datum_hash}
  • Auth
    API key in header project_id

Path parameters

datum_hashstring required

Hash of the datum

Response

Return the datum value

json_valueobject required

JSON content of the datum

Example response

{
  "json_value": {
    "int": 42
  }
}

Changes

No recorded changes to this operation across all 4 revisions of this API.