_getProposalTally

TallyResult queries the tally of a proposal vote.

Parameters

Path

  • proposal_id: STRING - The unique id of the proposal.
curl https://cosmos-mainnet-archive.allthatnode.com:1317/cosmos/gov/v1beta1/proposals/804/tally \
--header "x-allthatnode-api-key: 8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj"

Returns

  • OBJECT - Tally result
{
  "tally": {
    "yes": "91739337271649",
    "abstain": "128347071781",
    "no": "6429735132",
    "no_with_veto": "940990879"
  }
}

Try Yourself

Language
Click Try It! to start a request and see the response here!