Votes list
GET/votes
Get a list of votes. This endpoint may not be exposed by mainnet nodes.
Request
Query Parameters
Responses
- 200
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
votes object[]
Voter's party ID.
perMarketEquityLikeShareWeight object
The per market weight of the vote compared to the total amount of equity-like share on the market.. It is only populated if the vote is for a batch type proposal.
Proposal ID being voted on.
Timestamp in Unix nanoseconds when the vote was acknowledged by the network.
The weight of the vote compared to the total amount of equity-like share on the market. It is only populated if the vote is for a single type proposal.
Total number of governance token for the party that cast the vote.
The weight of this vote based on the total number of governance tokens.
Possible values: [VALUE_UNSPECIFIED
, VALUE_NO
, VALUE_YES
]
Default value: VALUE_UNSPECIFIED
Which way the party voted.
{
"votes": [
{
"partyId": "string",
"perMarketEquityLikeShareWeight": {},
"proposalId": "string",
"timestamp": "string",
"totalEquityLikeShareWeight": "string",
"totalGovernanceTokenBalance": "string",
"totalGovernanceTokenWeight": "string",
"value": "VALUE_UNSPECIFIED"
}
]
}
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
details object[]
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}