Path Parameters
proposal_id*string
proposal_id defines the unique id of the proposal.
Format
uint64Response Body
application/json
application/json
curl -X GET "http://localhost:1317/cosmos/gov/v1beta1/proposals/string/tally"{
"tally": {
"yes": "string",
"abstain": "string",
"no": "string",
"no_with_veto": "string"
}
}{
"error": "string",
"code": 0,
"message": "string",
"details": [
{
"type_url": "string",
"value": "string"
}
]
}TallyResult queries the tally of a proposal vote. GET
Previous Page
TallyResult returns the tally result of a proposal. If the proposal is still in voting period, then this query computes the current tally state, which might not be final. On the other hand, if the proposal is final, then it simply returns the `final_tally_result` state stored in the proposal itself. GET
Next Page