Cardano · Schema

Committee Votes

BlockchainCryptocurrencyProof-of-StakeSmart ContractsWeb3
View JSON Schema on GitHub

JSON Schema

committee-votes.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://cardano.blockfrost.io/schema/committee_votes",
  "title": "Committee Votes",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "tx_hash": {
        "type": "string",
        "description": "Hash of the vote transaction."
      },
      "voter_hot_id": {
        "type": "string",
        "description": "CIP-129 bech32 encoded hot credential of the committee member that cast this vote (`cc_hot1...`)."
      },
      "proposal_id": {
        "type": "string",
        "description": "CIP-129 Governance Action Identifier of the proposal being voted on."
      },
      "proposal_tx_hash": {
        "type": "string",
        "description": "Hash of the proposal transaction."
      },
      "proposal_index": {
        "type": "integer",
        "description": "Index of the proposal within its transaction."
      },
      "governance_type": {
        "type": "string",
        "enum": [
          "hard_fork_initiation",
          "new_committee",
          "new_constitution",
          "info_action",
          "no_confidence",
          "parameter_change",
          "treasury_withdrawals"
        ],
        "description": "Type of the governance action being voted on."
      },
      "vote": {
        "type": "string",
        "enum": [
          "yes",
          "no",
          "abstain"
        ],
        "description": "The Vote. Can be one of yes, no, abstain."
      },
      "metadata_url": {
        "type": "string",
        "nullable": true,
        "description": "Voting anchor URL \u2014 pointer to the off-chain rationale published by the voter."
      },
      "metadata_hash": {
        "type": "string",
        "nullable": true,
        "description": "Hex hash of the off-chain anchor document."
      },
      "block_height": {
        "type": "integer",
        "description": "Block height of the vote transaction."
      },
      "block_time": {
        "type": "integer",
        "description": "Block creation time in UNIX time of the vote transaction."
      }
    },
    "required": [
      "tx_hash",
      "voter_hot_id",
      "proposal_id",
      "proposal_tx_hash",
      "proposal_index",
      "governance_type",
      "vote",
      "metadata_url",
      "metadata_hash",
      "block_height",
      "block_time"
    ]
  },
  "example": [
    {
      "tx_hash": "b302de601defdf11a5261ed31a263804dac4a582a888c998ce24dec5",
      "voter_hot_id": "cc_hot1qf4xq9mlra5j68w8zjz2lvf3kc3rtsdtu98ka7zx4u6jvqyy39ww0",
      "proposal_id": "gov_action1k2jertppnnndejjcglszfqq4yzw8evzrd2nt66rr6rqlz54xp0zsq05ecsn",
      "proposal_tx_hash": "b2a591ac219ce6dcca5847e0248015209c7cb0436aa6bd6863d0c1f152a60bc5",
      "proposal_index": 0,
      "governance_type": "parameter_change",
      "vote": "yes",
      "metadata_url": "https://my.cc-member/rationale.jsonld",
      "metadata_hash": "a4b7d5d34f5d8c5b71a0a5c34b7e7f8a3d2e1c0b9a8f7e6d5c4b3a2918f7e6d5",
      "block_height": 11045358,
      "block_time": 1746037200
    },
    {
      "tx_hash": "8a91b32ec2a7bdfde2ab7a1bc5e4d3a2f1b0c9d8e7f6a5b4c3d2e1f0a9b8c7d6",
      "voter_hot_id": "cc_hot1qf4xq9mlra5j68w8zjz2lvf3kc3rtsdtu98ka7zx4u6jvqyy39ww0",
      "proposal_id": "gov_action1zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zygsq6dmejn",
      "proposal_tx_hash": "2dd15e0ef6e6a17841cb9541c27724072ce4d4b79b91e58432fbaa32d9572531",
      "proposal_index": 1,
      "governance_type": "new_constitution",
      "vote": "abstain",
      "metadata_url": null,
      "metadata_hash": null,
      "block_height": 11045890,
      "block_time": 1746070800
    }
  ]
}