BlockPI Network
Search
K

/cosmos/gov/v1/proposals/{proposal_id}/votes

Votes queries votes of a given proposal.

Parameters:

proposal_id - string, proposal_id defines the unique id of the proposal.

Example:

// Request
curl -X GET -H 'Content-Type: application/json' https://zetachain-athens.blockpi.network/lcd/v1/<your-api-key>/cosmos/gov/v1/proposals/1/votes
// Result
{
"votes": [ ],
"pagination": {
"next_key": null,
"total": "0"
}
}