Cardano » Governance
Proposal votes
Changed onHistory of Proposal votes.
get/governance/proposals/{tx_hash}/{cert_index}/votes
Request
- Base URLhttps://cardano-mainnet.blockfrost.io/api/v0
- URLhttps://cardano-mainnet.blockfrost.io/api/v0/governance/proposals/{tx_hash}/{cert_index}/votes
- AuthAPI key in header project_id
Path parameters
tx_hashstring required
Transaction hash.
cert_indexinteger required
Index of the certificate within the proposal transaction.
Query parameters
countinteger
The number of results displayed on one page.
pageinteger
The page number for listing the results.
order'asc' | 'desc'
The ordering of items from the point of view of the blockchain, not the page listing itself. By default, we return oldest first, newest last.
Response
Return the Proposal votes
Example response
[
{
"tx_hash": "144a086c58a7b7324fba98be44a9c1560f78970ec777ede701d097936591aa4b",
"cert_index": 0,
"voter_role": "drep",
"voter": "drep1mvdu8slennngja7w4un6knwezufra70887zuxpprd64jxfveahn",
"vote": "no",
"counted": false
},
{
"tx_hash": "b302de601defdf11a5261ed31a263804dac4a582a888c998ce24dec5",
"cert_index": 2,
"voter_role": "drep",
"voter": "drep1mvdu8slennngja7w4un6knwezufra70887zuxpprd64jxfveahn",
"vote": "yes",
"counted": true
},
{
"tx_hash": "b302de601defdf11a5261ed31a263804dac4a582a888c998ce24dec5",
"cert_index": 3,
"voter_role": "constitutional_committee",
"voter": "cc_hot1q0wzkpcxzzfs4mf4yk6yx7d075vqtyx2tnxsr256he6gnwq6yfy5w",
"vote": "abstain",
"counted": true
}
]Changes
- info
added the required property
/to the response with the status
- info