Skip to main content

/cosmos/gov/v1beta1/proposals/{proposal_id}/tally REST API Endpoint

Queries the tally of a proposal vote.

Updated on
May 9, 2024

/cosmos/gov/v1beta1/proposals/{proposal_id}/tally REST API Endpoint

Path Parameters

proposal_id
string
REQUIRED
The unique ID of a proposal

Returns

tally
object
Defines the requested tally
yes
string
The number of yes votes on a proposal
abstain
string
The number of abstain votes on a proposal
no
string
The number of no votes on a proposal
no_with_veto
string
The number of no with veto votes on a proposal
Request
1
curl --location 'https://docs-demo.sei-pacific.quiknode.pro/cosmos/gov/v1beta1/proposals/:proposal_id/tally'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free