GET
/
stake
/
governance
/
statistics
Get Governance Statistics
curl --request GET \
  --url https://prv.stake.biya.io/stake/governance/statistics
{
  "total_proposals": "<string>",
  "passed_proposals": "<string>",
  "rejected_proposals": "<string>",
  "voting_proposals": "<string>",
  "deposit_proposals": "<string>",
  "average_participation_rate": "<string>",
  "total_voting_weight": "<string>",
  "timestamp": "<string>"
}

Response

200 - application/json

OK

GovernanceStatisticsResponse contains governance statistics

total_proposals
string

Total number of proposals

passed_proposals
string

Number of passed proposals

rejected_proposals
string

Number of rejected proposals

voting_proposals
string

Number of proposals in voting period

deposit_proposals
string

Number of proposals in deposit period

average_participation_rate
string

Average participation rate across all proposals (as percentage, e.g., "65.5" means 65.5%)

total_voting_weight
string

Total voting weight across all proposals (as string to handle large numbers)

timestamp
string

Timestamp when statistics were calculated