Votes list
GEThttps://vega-data.nodes.guru:3008/votes
Get a list of votes. This endpoint may not be exposed by mainnet nodes.
Request
Query Parameters
proposal string
party string
Responses
- 200
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
votes object[]
{
"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
code int32
details object[]
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
- curl
- python
- go
- nodejs
- CURL
curl -L -X GET 'https://vega-data.nodes.guru:3008/votes' \
-H 'Accept: application/json'