Cardano · Schema

Script Redeemers

BlockchainCryptocurrencyProof of StakeSmart ContractsWeb3
View JSON Schema on GitHub

JSON Schema

script-redeemers.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://cardano.blockfrost.io/schema/script_redeemers",
  "title": "Script Redeemers",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "tx_hash": {
        "type": "string",
        "example": "1a0570af966fb355a7160e4f82d5a80b8681b7955f5d44bec0dce628516157f0",
        "description": "Hash of the transaction"
      },
      "tx_index": {
        "type": "integer",
        "example": 0,
        "description": "The index of the redeemer pointer in the transaction"
      },
      "purpose": {
        "type": "string",
        "enum": [
          "spend",
          "mint",
          "cert",
          "reward"
        ],
        "example": "spend",
        "description": "Validation purpose"
      },
      "redeemer_data_hash": {
        "type": "string",
        "example": "923918e403bf43c34b4ef6b48eb2ee04babed17320d8d1b9ff9ad086e86f44ec",
        "description": "Datum hash of the redeemer"
      },
      "datum_hash": {
        "type": "string",
        "example": "923918e403bf43c34b4ef6b48eb2ee04babed17320d8d1b9ff9ad086e86f44ec",
        "description": "Datum hash",
        "deprecated": true
      },
      "unit_mem": {
        "type": "string",
        "example": "1700",
        "description": "The budget in Memory to run a script"
      },
      "unit_steps": {
        "type": "string",
        "example": "476468",
        "description": "The budget in CPU steps to run a script"
      },
      "fee": {
        "type": "string",
        "example": "172033",
        "description": "The fee consumed to run the script"
      }
    },
    "required": [
      "tx_hash",
      "tx_index",
      "purpose",
      "redeemer_data_hash",
      "datum_hash",
      "unit_mem",
      "unit_steps",
      "fee"
    ]
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/script-redeemers"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.