Voters
Returns voters from the voting period at the specified index.
Path parameters
indexinteger · int32Required
Voting period index starting from zero
Query parameters
statusone of | nullableOptional
Filters voters by status (none
, upvoted
, voted_yay
, voted_nay
, voted_pass
)
sortone of | nullableOptional
Sorts voters by specified field. Supported fields: id
(default), votingPower
.
offsetone of | nullableOptional
Specifies which or how many items should be skipped
limitinteger · int32 · max: 10000OptionalDefault:
Maximum number of items to return
100
Responses
200Success
application/json
get
GET /v1/voting/periods/{index}/voters HTTP/1.1
Host: xtz-index.nownodes.io
Accept: */*
200Success
[
{
"delegate": {
"alias": "text",
"address": "text"
},
"votingPower": 1,
"status": "text",
"rolls": 1
}
]
Returns a voter with the specified address from the voting period at the specified index.
Path parameters
indexinteger · int32Required
Voting period index starting from zero
addressstringRequired
Voter address
Responses
200Success
application/json
get
GET /v1/voting/periods/{index}/voters/{address} HTTP/1.1
Host: xtz-index.nownodes.io
Accept: */*
200Success
{
"delegate": {
"alias": "text",
"address": "text"
},
"votingPower": 1,
"status": "text",
"rolls": 1
}