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 [
- Array [
- ]
- ]
votes object[]
elsPerMarket 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.
The equity-like share weight for this market.
The market ID.
Voter's party ID.
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": [
{
"elsPerMarket": [
{
"els": "string",
"marketId": "string"
}
],
"partyId": "string",
"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"
}