Votes list
GET/votes
Get a list of votes
Request
Query Parameters
proposal string
party string
Responses
- 200
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
votes object[]
partyId string
Voter's party ID.
proposalId string
Proposal ID being voted on.
timestamp int64
Timestamp in Unix nanoseconds when the vote was acknowledged by the network.
totalEquityLikeShareWeight string
The weight of the vote compared to the total amount of equity-like share on the market.
totalGovernanceTokenBalance string
Total number of governance token for the party that cast the vote.
totalGovernanceTokenWeight string
The weight of this vote based on the total number of governance tokens.
value Vote value
Possible values: [VALUE_UNSPECIFIED
, VALUE_NO
, VALUE_YES
]
Default value: VALUE_UNSPECIFIED
Which way the party voted.
{
"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
- Array [
- ]
code int32
details object[]
@type string
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
Loading...