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