Cardano · Schema

Drep Votes

BlockchainCryptocurrencyProof of StakeSmart ContractsWeb3
View JSON Schema on GitHub

JSON Schema

drep-votes.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://cardano.blockfrost.io/schema/drep_votes",
  "title": "Drep Votes",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "tx_hash": {
        "type": "string",
        "description": "Hash of the vote transaction."
      },
      "cert_index": {
        "type": "integer",
        "description": "Index of the certificate within the vote transaction."
      },
      "proposal_id": {
        "type": "string",
        "description": "Governance Action Identifier (CIP-0129) of the proposal being voted on."
      },
      "proposal_tx_hash": {
        "type": "string",
        "description": "Hash of the proposal transaction."
      },
      "proposal_cert_index": {
        "type": "integer",
        "description": "Index of the certificate within the proposal transaction."
      },
      "vote": {
        "type": "string",
        "enum": [
          "yes",
          "no",
          "abstain"
        ],
        "description": "The Vote. Can be one of yes, no, abstain."
      }
    },
    "required": [
      "tx_hash",
      "cert_index",
      "proposal_id",
      "proposal_tx_hash",
      "proposal_cert_index",
      "vote"
    ]
  },
  "example": [
    {
      "tx_hash": "b302de601defdf11a5261ed31a263804dac4a582a888c998ce24dec5",
      "cert_index": 2,
      "proposal_id": "gov_action1k2jertppnnndejjcglszfqq4yzw8evzrd2nt66rr6rqlz54xp0zsq05ecsn",
      "proposal_tx_hash": "b2a591ac219ce6dcca5847e0248015209c7cb0436aa6bd6863d0c1f152a60bc5",
      "proposal_cert_index": 0,
      "vote": "yes"
    },
    {
      "tx_hash": "b302de601defdf11a5261ed31a263804dac4a582a888c998ce24dec5",
      "cert_index": 3,
      "proposal_id": "gov_action1zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zygsq6dmejn",
      "proposal_tx_hash": "2dd15e0ef6e6a17841cb9541c27724072ce4d4b79b91e58432fbaa32d9572531",
      "proposal_cert_index": 1,
      "vote": "abstain"
    }
  ]
}

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/drep-votes"
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.