Voters

Get period voters

get

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: 10000Optional

Maximum number of items to return

Default: 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
  }
]

Get period voter

get

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
}