Cardano · Schema

Pool Votes

BlockchainCryptocurrencyProof-of-StakeSmart ContractsWeb3
View JSON Schema on GitHub

JSON Schema

pool-votes.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://cardano.blockfrost.io/schema/pool_votes",
  "title": "Pool Votes",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "tx_hash": {
        "type": "string",
        "description": "Hash of the proposal transaction."
      },
      "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",
      "vote"
    ]
  },
  "example": [
    {
      "tx_hash": "b302de601defdf11a5261ed31a263804dac4a582a888c998ce24dec5",
      "cert_index": 2,
      "vote": "yes"
    }
  ]
}