Home

Get ballots

GET
https://xtz-index.nownodes.io/v1/operations/ballots

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns a list of ballot operations.

Parameters

delegateobject | nullquery

Filters ballots by delegate. Allowed fields for .eqx mode: none.

levelobject | nullquery

Filters ballots by level.

timestampobject | nullquery

Filters ballots by timestamp.

epochobject | nullquery

Filters ballots by voting epoch.

periodobject | nullquery

Filters ballots by voting period.

proposalobject | nullquery

Filters ballots by proposal hash.

voteobject | nullquery

Filters ballots by vote (yay, nay, pass).

selectobject | nullquery

Specify comma-separated list of fields to include into response or leave it undefined to return full object. If you select single field, response will be an array of values in both .fields and .values modes.

sortobject | nullquery

Sorts ballots by specified field. Supported fields: id (default), level.

offsetobject | nullquery

Specifies which or how many items should be skipped

limitinteger<int32>[0, 10000]100query

Maximum number of items to return

quotestringNoneBtcEurUsdCnyJpyKrwEthGbpNonequery

Comma-separated list of ticker symbols to inject historical prices into response

Response

200OK

Successful response.

400Bad Request

Invalid request.