cosmos/gov/v1beta1/proposals/{proposal_id}/tally

Parameters

Object NameRequiredTypeDetail
PROPOSAL_IDIntegerThe unique id of the proposal.
/cosmos/gov/v1beta1/proposals/1/tally

Result

The tally of a proposal vote.

Example

Request

curl <your-rest-endpoint>/cosmos/gov/v1beta1/proposals/1/tally \
  -X GET \
  -H "accept: application/json"

Return

{
    "tally": {
        "yes": "97118903526799",
        "abstain": "402380577234",
        "no": "320545400000",
        "no_with_veto": "0"
    }
}