Blockfrost · Schema

drep

drep schema from Blockfrost API

BlockchainCardanoCryptocurrencyDAppsNFTWeb3

Properties

Name Type Description
drep_id string Bech32 encoded DRep address
hex string The raw bytes of the DRep
amount string The total amount of voting power this DRep is delegated.
active boolean Registration state of the DRep
active_epoch integer Epoch of the most recent registration
has_script boolean Flag which shows if this DRep credentials are a script hash
retired boolean Registration state of the DRep. Set to `true` if the DRep has been deregistered; otherwise, `false`.
expired boolean Whether the DRep has been inactive for a consecutive number of epochs (determined by a epoch parameter `drep_activity`)
last_active_epoch integer Epoch of the most recent action - registration, update, deregistration or voting
View JSON Schema on GitHub

JSON Schema

blockfrost-drep-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/blockfrost/refs/heads/main/json-schema/blockfrost-drep-schema.json",
  "title": "drep",
  "description": "drep schema from Blockfrost API",
  "type": "object",
  "properties": {
    "drep_id": {
      "type": "string",
      "description": "Bech32 encoded DRep address"
    },
    "hex": {
      "type": "string",
      "description": "The raw bytes of the DRep"
    },
    "amount": {
      "type": "string",
      "description": "The total amount of voting power this DRep is delegated."
    },
    "active": {
      "type": "boolean",
      "description": "Registration state of the DRep",
      "deprecated": true
    },
    "active_epoch": {
      "type": "integer",
      "nullable": true,
      "description": "Epoch of the most recent registration",
      "deprecated": true
    },
    "has_script": {
      "type": "boolean",
      "description": "Flag which shows if this DRep credentials are a script hash"
    },
    "retired": {
      "type": "boolean",
      "description": "Registration state of the DRep. Set to `true` if the DRep has been deregistered; otherwise, `false`."
    },
    "expired": {
      "type": "boolean",
      "description": "Whether the DRep has been inactive for a consecutive number of epochs (determined by a epoch parameter `drep_activity`)"
    },
    "last_active_epoch": {
      "type": "integer",
      "nullable": true,
      "description": "Epoch of the most recent action - registration, update, deregistration or voting"
    }
  },
  "required": [
    "drep_id",
    "hex",
    "amount",
    "active",
    "active_epoch",
    "has_script",
    "retired",
    "expired",
    "last_active_epoch"
  ]
}

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/blockfrost-drep"
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 email required.

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