JSON Schema
{
"$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"
}
]
}