/cosmos/gov/v1/proposals - TAC
Example code for the gov proposals JSON-RPC method. Complete guide on how to use gov proposals JSON-RPC in GetBlock Web3 documentation.
Returns governance proposals, optionally filtered by status, paginated.
Endpoint
GET /cosmos/gov/v1/proposalsQuery Parameters
proposal_status
string
Filter by status, e.g. PROPOSAL_STATUS_VOTING_PERIOD
pagination.limit
string
Max results per page
Example
export TAC_REST=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/
curl "${TAC_REST}cosmos/gov/v1/proposals"Response
{
"proposals": [
{
"id": "42",
"status": "PROPOSAL_STATUS_VOTING_PERIOD",
"messages": [],
"final_tally_result": {
"yes_count": "0",
"no_count": "0"
},
"submit_time": "2026-05-20T00:00:00Z",
"voting_end_time": "2026-06-03T00:00:00Z"
}
],
"pagination": {
"total": "42"
}
}Response Fields
proposals
array
Governance proposals with status, messages, and tallies
proposals[].status
string
Proposal lifecycle status
proposals[].final_tally_result
object
Vote tally for the proposal
Use Cases
Governance UI: List active and past proposals
Monitoring: Track proposals in the voting period
Error Handling
400 / Bad request
Bad request
A path, query, or body parameter was invalid
404 / Not found
Not found
The account, validator, proposal, or resource does not exist
403 / RBAC: access denied
Access denied
The GetBlock access token is missing or incorrect
Was this helpful?